mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-14 10:13:52 -04:00
Apply sentence case to all H1s in docs/en/ and remove redundant "FreshRSS" from titles where the docs site context already implies it. Align the three section index titles to "Administrator/Developer/User manual", matching the existing root H1 "FreshRSS manual (English)". Add missing H1s to two pages that were silently dropped from the sidebar: the user FAQ and the Caddy reverse proxy page. The sidebar template uses page.title (derived from H1 by jekyll-titles-from-headings), so pages without an H1 had title=nil and were skipped. Update sidebar parent labels in docs_nav.html and the chapter list in en/index.md to use the new "* manual" naming. Update link text in section indexes that referenced the old H1s. Bundle two grammar fixes encountered along the way: "an User Interface" -> "a user interface", and drop the awkward "the" in "Configuring the email address validation". EN only. No filenames, URLs, or anchor targets changed (anchors come from H2 and below, which are untouched). FR is generated from EN via po4a and will be regenerated separately. Co-authored-by: Bjørn A. Andersen <polybjorn@users.noreply.github.com>
78 lines
2.8 KiB
HTML
78 lines
2.8 KiB
HTML
{% if page.lang == 'en' %}
|
|
<ul>
|
|
<li><a href="{{ '/en/' | relative_url }}">Home</a></li>
|
|
<li>
|
|
<a href="{{ '/en/users/02_First_steps.html' | relative_url }}">User manual</a>
|
|
<ul>
|
|
{% for page in site.pages %}
|
|
{% if page.url contains '/en/users/' and page.title != nil and page.url != "/en/users/02_First_steps.html" %}
|
|
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="{{ '/en/admins/01_Index.html' | relative_url }}">Administrator manual</a>
|
|
<ul>
|
|
{% for page in site.pages %}
|
|
{% if page.url contains '/en/admins/' and page.url != "/en/admins/01_Index.html" and page.title != nil %}
|
|
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="{{ '/en/developers/01_Index.html' | relative_url }}">Developer manual</a>
|
|
<ul>
|
|
{% for page in site.pages %}
|
|
{% if page.url contains '/en/developers/' and page.url != "/en/developers/01_Index.html" and page.title != nil %}
|
|
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="{{ '/en/contributing.html' | relative_url}}">Contributor guidelines</a>
|
|
</li>
|
|
</ul>
|
|
{% elsif page.lang == 'fr' %}
|
|
<ul>
|
|
<li><a href="{{ '/fr/' | relative_url }}">Accueil</a></li>
|
|
<li>
|
|
<a href="{{ '/fr/users/02_First_steps.html' | relative_url }}">Documentation utilisateur</a>
|
|
<ul>
|
|
{% for page in site.pages %}
|
|
{% if page.url contains '/fr/users/' and page.title != nil and page.url != "/fr/users/02_First_steps.html" %}
|
|
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
<!-- TODO: French doesn't have admin docs -->
|
|
<!-- <li> -->
|
|
<!-- <a href="{{ '/fr/admins/01_Index.html' | relative_url }}">Administrator documentation</a> -->
|
|
<!-- <ul> -->
|
|
<!-- {% for page in site.pages %} -->
|
|
<!-- {% if page.url contains '/fr/admins/' and page.url != "/fr/admins/01_Index.html" and page.title != nil %} -->
|
|
<!-- <li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li> -->
|
|
<!-- {% endif %} -->
|
|
<!-- {% endfor %} -->
|
|
<!-- </ul> -->
|
|
<!-- </li> -->
|
|
<li>
|
|
<a href="{{ '/fr/developers/01_First_steps.html' | relative_url }}">Documentation développeur</a>
|
|
<ul>
|
|
{% for page in site.pages %}
|
|
{% if page.url contains '/fr/developers/' and page.url != "/fr/developers/01_First_steps.html" and page.title != nil %}
|
|
<li><a href="{{ page.url | relative_url }}">{{ page.title | escape }}</a></li>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<a href="{{ '/fr/contributing.html' | relative_url}}">Directives pour les contributeurs</a>
|
|
</li>
|
|
</ul>
|
|
{% endif %}
|
|
|