-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from issp-center-dev/changedocs
- Loading branch information
Showing
5 changed files
with
195 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{# The original version of this file is a part of sphinx_rtd_theme v0.5.0, which is distributed under the MIT license #} | ||
{# https://github.com/readthedocs/sphinx_rtd_theme #} | ||
|
||
{# Add rst-badge after rst-versions for small badge style. #} | ||
{% if ENABLE_VERSIONING == "true" %} | ||
<div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> | ||
<span class="rst-current-version" data-toggle="rst-current-version"> | ||
<span class="fa fa-book"> Read the Docs</span> | ||
v: {{ current_version }} | ||
<span class="fa fa-caret-down"></span> | ||
</span> | ||
<div class="rst-other-versions"> | ||
<dl> | ||
<dt>{{ _('Languages') }}</dt> | ||
{% for lang in languages %} | ||
{% set root_dir = pathto("../..", 1)%} | ||
<dd> | ||
{% if lang == current_lang %}<strong>{% endif %} | ||
<a href="{{root_dir}}/{{current_version}}/{{lang}}/{{pathto(pagename, 0, ".")}}">{{ lang }}</a> | ||
{% if lang == current_lang %}</strong>{% endif %} | ||
</dd> | ||
{% endfor %} | ||
|
||
<dt>{{ _('Branches') }}</dt> | ||
{% for name in branches %} | ||
{% set root_dir = pathto("../..", 1)%} | ||
<dd> | ||
{% if name == current_version %}<strong>{% endif %} | ||
<a href="{{root_dir}}/{{name}}/{{current_lang}}/{{pathto(pagename, 0, ".")}}">{{ name }}</a> | ||
{% if name == current_version %}</strong>{% endif %} | ||
</dd> | ||
{% endfor %} | ||
|
||
<dt>{{ _('Tags') }}</dt> | ||
{% for name in tags %} | ||
{% set root_dir = pathto("../..", 1)%} | ||
<dd> | ||
{% if name == current_version %}<strong>{% endif %} | ||
<a href="{{root_dir}}/{{name}}/{{current_lang}}/{{pathto(pagename, 0, ".")}}">{{ name }}</a> | ||
{% if name == current_version %}</strong>{% endif %} | ||
</dd> | ||
{% endfor %} | ||
|
||
</dl> | ||
</div> | ||
</div> | ||
{% endif %} {# endif ENABLE_VERSIONING #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.