Skip to content

Commit

Permalink
relocated downloads section in versions flyout menu and added downloa…
Browse files Browse the repository at this point in the history
…ds Hint in index.html
  • Loading branch information
nishant-sachdeva committed Nov 26, 2021
1 parent e0c85c6 commit 5e59325
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/_templates/versions.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
</span>
<div class="rst-other-versions">
<dl>
<dt>{{ _('Versions') }}</dt> {% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
<dt>{{ _('Downloads') }}</dt> {% for type, url in downloads %}
<dd><a href="{{ url }}">{{ type }}</a></dd>
{% endfor %}
</dl>
<dl>
<dt>{{ _('Downloads') }}</dt> {% for type, url in downloads %}
<dd><a href="{{ url }}">{{ type }}</a></dd>
<dt>{{ _('Versions') }}</dt> {% for slug, url in versions %}
<dd><a href="{{ url }}">{{ slug }}</a></dd>
{% endfor %}
</dl>
<dl>
Expand Down
6 changes: 6 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ a 0.y.z version number `to indicate this fast pace of change <https://semver.org
Ideas for improving Solidity or this documentation are always welcome,
read our :doc:`contributors guide <contributing>` for more details.

.. Hint::

You can download this documentation as PDF, HTML or Epub by clicking on the versions
flyout menu in the left bottom corner and selecting the preferred download format.


Getting Started
---------------

Expand Down

0 comments on commit 5e59325

Please sign in to comment.