Upgrade Sphinx docs toolchain: modern CSS, version sidebar, and search fixes

- Remove legacy CSS and templates.
- Add custom.css ported from live nature theme for Sphinx 7.x.
- Update conf.py, drop sphinx-multiversion.
- Fix SearchBar and Doc Versions sidebar.
- Update requirements.txt to latest stable module versions.
This commit is contained in:
PowershellNinja 2025-07-21 22:03:04 +02:00
parent 0bc77106fa
commit e90e568475
8 changed files with 488 additions and 2162 deletions

View file

@ -1,13 +1,15 @@
{% if versions %}
{% if versions or legacy_versions %}
<h3>{{ _('Doc Versions') }}</h3>
<ul>
{% for item in versions %}
<li><a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a></li>
{%- endfor %}
{% if legacy_versions %}
{%- for item in legacy_versions %}
<li><a href="{{ item.url }}">{{ item.branch }} branch (outdated)</a></li>
<li>
<a href="{{ item.url }}">{{ item.release }} ({{ item.name }} branch)</a>
</li>
{% endfor %}
{% for item in legacy_versions %}
<li>
<a href="{{ item.url }}">{{ item.release }} branch (outdated)</a>
</li>
{% endfor %}
{% endif %}
</ul>
{% endif %}