1 {# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}
3 {% if page_source_suffix %}
4 {% set suffix = page_source_suffix %}
6 {% set suffix = source_suffix %}
9 <div role="navigation" aria-label="breadcrumbs navigation">
10 <ul class="wy-breadcrumbs">
11 <li><a href="{{ pathto(master_doc) }}">Docs</a> »</li>
12 {% for doc in parents %}
13 <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> »</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>