Update doc versions, remove 0.9.5 doc links

This commit is contained in:
Griatch 2023-06-10 08:08:07 +02:00
parent d3067d34c9
commit 798e5d8ff4
7 changed files with 48 additions and 22 deletions

View file

@ -45,9 +45,6 @@
<li class="nav-item nav-item-this"><a href="{{ link|e }}">{{ title }}</a></li>
{%- block relbaritems %} {% endblock %}
</ul>
{%- if release == '1.0-dev' %}
<div class="develop">develop branch</div>
{%- endif %}
</div>
{%- endmacro %}
@ -170,11 +167,24 @@
{%- block extrahead %} {% endblock %}
</head>
{%- block body_tag %}<body>{% endblock %}
{%- block header %}{% endblock %}
{%- block header %}
{% endblock %}
{%- block relbar1 %}{{ relbar() }}{% endblock %}
{%- block content %}
{% if legacy_versions %}
{% if release in legacy_versions %}
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">You are reading an old version of this documentation.</p>
</div>
{% endif %}
{% endif %}
{%- block sidebar1 %} {# possible location for sidebar #} {% endblock %}
<div class="document">

View file

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