Skip to content

Commit

Permalink
[Docs] Add links to 2.x docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Magdalena Sadowska committed Nov 5, 2024
1 parent 6dcf692 commit 45ae5da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/_themes/sylius_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -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"><div class="local-toc"><b>📖 2.0 Documentation</b></div></a>
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %}
{{ toctree }}
Expand Down
1 change: 1 addition & 0 deletions docs/_themes/sylius_rtd_theme/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<div class="rst-other-versions">
<dl>
<dt>Versions</dt>
<dd><a href="{{ url }}">2.0</a></dd>
{% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
Expand Down

0 comments on commit 45ae5da

Please sign in to comment.