Skip to content

Commit 7131f59

Browse files
author
alexey
committed
test comit
1 parent 5dd3164 commit 7131f59

File tree

3 files changed

+33
-18
lines changed

3 files changed

+33
-18
lines changed

theme/readthedocs/base.html

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -88,20 +88,23 @@
8888

8989
</div>
9090

91+
{% include "versions.html" %}
92+
<!--
9193
<div class="rst-versions" role="note" style="cursor: pointer">
92-
<span class="curent-sersion">v: {{ config.extra.current_version }}</span>
93-
<span class="fa fa-caret-down"></span>
94-
<span class="rst-current-version" data-toggle="rst-current-version">
95-
<!--{% include "versions.html" %}-->
96-
{% if repo_name == 'GitHub' %}
97-
<a href="{{ repo_url }}" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
98-
{% elif repo_name == 'Bitbucket' %}
99-
<a href="{{ repo_url }}" class="icon icon-bitbucket" style="float: left; color: #fcfcfc"> BitBucket</a>
100-
{% endif %}
101-
<span><a href="{{ previous_page.url }}" style="color: #fcfcfc;">&laquo; Previous</a></span>
102-
<span style="margin-left: 15px"><a href="{{ next_page.url }}" style="color: #fcfcfc">Next &raquo;</a></span>
103-
</span>
94+
<span class="curent-sersion">v: {{ config.extra.current_version }}</span>
95+
<span class="fa fa-caret-down"></span>
96+
<span class="rst-current-version" data-toggle="rst-current-version">
97+
{% include "versions.html" %}
98+
99+
{% if repo_name == 'GitHub' %}
100+
<a href="{{ repo_url }}" class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
101+
{% elif repo_name == 'Bitbucket' %}
102+
<a href="{{ repo_url }}" class="icon icon-bitbucket" style="float: left; color: #fcfcfc"> BitBucket</a>
103+
{% endif %}
104+
105+
</span>
104106
</div>
107+
-->
105108

106109
<!--
107110
MkDocs version : {{ mkdocs_version }}

theme/readthedocs/css/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

theme/readthedocs/versions.html

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
{# Add rst-badge after rst-versions for small badge style. #}
2+
<div class="rst-versions" role="note" style="cursor: pointer">
3+
4+
15
<div class="rst-versions rst-badge" data-toggle="rst-versions" role="note" aria-label="versions">
2-
<span class="curent-sersion">v: {{ config.extra.current_version }}</span>
3-
<span class="fa fa-caret-down"></span>
4-
<!--<span class="rst-current-version" data-toggle="rst-current-version">
56

6-
</span>-->
7+
<span class="rst-current-version" data-toggle="rst-current-version">
8+
v: {{ config.extra.current_version }}
9+
<span class="fa fa-caret-down"></span>
10+
11+
</span>
12+
713
<div class="rst-other-versions">
814
<dl>
915
<dt>Versions</dt>
@@ -16,4 +22,10 @@
1622
{% endfor %}
1723
</dl>
1824
</div>
19-
</div>
25+
26+
27+
</div>
28+
<span><a href="{{ previous_page.url }}" style="color: #fcfcfc;">&laquo; Previous</a></span>
29+
<span style="margin-left: 15px"><a href="{{ next_page.url }}" style="color: #fcfcfc">Next &raquo;</a></span>
30+
31+
</div>

0 commit comments

Comments
 (0)