diff options
author | Jakob Unterwurzacher | 2015-12-20 14:13:19 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-12-20 14:13:19 +0100 |
commit | f419d49d65fc638fd15b603364b2e8e92609da91 (patch) | |
tree | d961a056f3c430f508da7c8a1633ed96310dc270 /xreadthedocs/breadcrumbs.html |
copy /usr/lib/python2.7/site-packages/mkdocs/themes/readthedocs
Diffstat (limited to 'xreadthedocs/breadcrumbs.html')
-rw-r--r-- | xreadthedocs/breadcrumbs.html | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xreadthedocs/breadcrumbs.html b/xreadthedocs/breadcrumbs.html new file mode 100644 index 0000000..01960e6 --- /dev/null +++ b/xreadthedocs/breadcrumbs.html @@ -0,0 +1,25 @@ +<div role="navigation" aria-label="breadcrumbs navigation"> + <ul class="wy-breadcrumbs"> + <li><a href="{{ homepage_url }}">Docs</a> »</li> + {% if current_page %} + {% for doc in current_page.ancestors %} + {% if doc.link %} + <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> »</li> + {% else %} + <li>{{ doc.title }} »</li> + {% endif %} + {% endfor %} + {% endif %} + {% if current_page %}<li>{{ current_page.title }}</li>{% endif %} + <li class="wy-breadcrumbs-aside"> + {% if repo_url %} + {% if repo_name == 'GitHub' %} + <a href="{{ repo_url }}" class="icon icon-github"> Edit on GitHub</a> + {% elif repo_name == 'Bitbucket' %} + <a href="{{ repo_url }}" class="icon icon-bitbucket"> Edit on BitBucket</a> + {% endif %} + {% endif %} + </li> + </ul> + <hr/> +</div> |