breadcrumbs.html 1.0 KB

1234567891011121314151617181920
  1. <div role="navigation" aria-label="breadcrumbs navigation">
  2. <ul class="wy-breadcrumbs">
  3. <li><a href="{{ pathto(master_doc) }}">Docs</a> &raquo;</li>
  4. {% for doc in parents %}
  5. <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
  6. {% endfor %}
  7. <li>{{ title }}</li>
  8. <li class="wy-breadcrumbs-aside">
  9. {% if display_github %}
  10. <a href="https://github.com/{{ github_user }}/{{ github_repo }}/blob/{{ github_version }}{{ conf_py_path }}{{ pagename }}{{ source_suffix }}" class="fa fa-github"> Edit on GitHub</a>
  11. {% elif display_bitbucket %}
  12. <a href="https://bitbucket.org/{{ bitbucket_user }}/{{ bitbucket_repo }}/src/{{ bitbucket_version}}{{ conf_py_path }}{{ pagename }}{{ source_suffix }}" class="fa fa-bitbucket"> Edit on Bitbucket</a>
  13. {% elif show_source and has_source and sourcename %}
  14. <a href="{{ pathto('_sources/' + sourcename, true)|e }}" rel="nofollow"> View page source</a>
  15. {% endif %}
  16. </li>
  17. </ul>
  18. <hr/>
  19. </div>