File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1
1
{# Add rst-badge after rst-versions for small badge style. #}
2
2
< div class ="rst-versions " data-toggle ="rst-versions " role ="note " aria-label ="versions ">
3
3
< span class ="rst-current-version " data-toggle ="rst-current-version ">
4
- < span class ="fa fa-book fa-element "> RTD </ span >
4
+ {% for type, url in downloads %}
5
+ {% if type == 'PDF' %}
6
+ < a href ="{{ url }} "> {{ type }}</ a >
7
+ {% endif %}
8
+ {% endfor %}
5
9
6
10
< span class ="fa fa-element ">
7
11
< input class ="container_toggle " type ="checkbox " id ="switch " name ="mode ">
13
17
</ span >
14
18
< div class ="rst-other-versions ">
15
19
< dl >
16
- < dt > {{ _('Versions ') }}</ dt > {% for slug , url in versions %}
17
- < dd > < a href ="{{ url }} "> {{ slug }}</ a > </ dd >
20
+ < dt > {{ _('Downloads ') }}</ dt > {% for type , url in downloads %}
21
+ < dd > < a href ="{{ url }} "> {{ type }}</ a > </ dd >
18
22
{% endfor %}
19
23
</ dl >
20
24
< dl >
21
- < dt > {{ _('Downloads ') }}</ dt > {% for type , url in downloads %}
22
- < dd > < a href ="{{ url }} "> {{ type }}</ a > </ dd >
25
+ < dt > {{ _('Versions ') }}</ dt > {% for slug , url in versions %}
26
+ < dd > < a href ="{{ url }} "> {{ slug }}</ a > </ dd >
23
27
{% endfor %}
24
28
</ dl >
25
29
< dl >
33
37
</ dd >
34
38
</ dl >
35
39
</ div >
36
- </ div >
40
+ </ div >
Original file line number Diff line number Diff line change @@ -31,6 +31,12 @@ a 0.y.z version number `to indicate this fast pace of change <https://semver.org
31
31
Ideas for improving Solidity or this documentation are always welcome,
32
32
read our :doc: `contributors guide <contributing >` for more details.
33
33
34
+ .. Hint ::
35
+
36
+ You can download this documentation as PDF, HTML or Epub by clicking on the versions
37
+ flyout menu in the bottom-left corner and selecting the preferred download format.
38
+
39
+
34
40
Getting Started
35
41
---------------
36
42
You can’t perform that action at this time.
0 commit comments