feat: refactoring for sphinx localisation support

This commit is contained in:
Ana Custura 2024-12-05 15:58:11 +00:00 committed by irl
parent 368b4ba0c1
commit bf5e7c383a
6 changed files with 189 additions and 33 deletions

View file

@ -0,0 +1,9 @@
<div class="sidebar-tree">
<p class="caption" role="heading"><span class="caption-text">{{ _('Translations') }}</span></p>
<ul>
{% for language, language_name in languages %}
<li class="toctree-l1"><a class="reference internal"
href="/{{ language }}/{{ pagename }}.html">{{ language_name }}</a></li>
{% endfor %}
</ul>
</div>