source: rtems-docs/common/sphinx_rtd_theme/breadcrumbs.html @ 3a71759

4.115
Last change on this file since 3a71759 was 5daabd2, checked in by Amar Takhar <amar@…>, on 01/16/16 at 04:41:06

Initial reST documentation using Sphinx.

  • Property mode set to 100644
File size: 1.4 KB
Line 
1{# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}
2
3{% if page_source_suffix %}
4{% set suffix = page_source_suffix %}
5{% else %}
6{% set suffix = source_suffix %}
7{% endif %}
8
9<div role="navigation" aria-label="breadcrumbs navigation">
10  <ul class="wy-breadcrumbs">
11    <li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
12      {% for doc in parents %}
13        <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
14      {% endfor %}
15    <li>{{ title }}</li>
16    <li class="wy-breadcrumbs-aside">
17      {% if pagename != "search" %}
18        {% if display_github %}
19          <a href="https://{{ github_host|default("github.com") }}/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ suffix }}" class="fa fa-github"> Edit on GitHub</a>
20        {% elif display_bitbucket %}
21          <a href="https://bitbucket.org/{{ bitbucket_user }}/{{ bitbucket_repo }}/src/{{ bitbucket_version}}{{ conf_py_path }}{{ pagename }}{{ suffix }}" class="fa fa-bitbucket"> Edit on Bitbucket</a>
22        {% elif show_source and source_url_prefix %}
23          <a href="{{ source_url_prefix }}{{ pagename }}{{ suffix }}">View page source</a>
24        {% elif show_source and has_source and sourcename %}
25          <a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> View page source</a>
26        {% endif %}
27      {% endif %}
28    </li>
29  </ul>
30  <hr/>
31</div>
Note: See TracBrowser for help on using the repository browser.