Merge branch '1.12' into 1.13

* 1.12:
  [Docs] Fix readthedocs configuration files
  [Docs] Add links to 2.x docs
This commit is contained in:
Grzegorz Sadowski 2024-11-06 06:58:56 +01:00
commit 1dd73e5d90
No known key found for this signature in database
GPG key ID: EF87FF4E6E3BD364
2 changed files with 2 additions and 0 deletions

View file

@ -99,6 +99,7 @@
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<a href="https://docs.sylius.com/" target="_blank"><b>📖 2.0 Documentation</b></a>
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %}
{{ toctree }}

View file

@ -9,6 +9,7 @@
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
<dd><a href="https://docs.sylius.com/">2.0</a></dd>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}