breadcrumbs.html 646 字节
Newer Older
S
Shi-Liang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
{# Support for Sphinx 1.3+ page_source_suffix, but don't break old builds. #}

{% if page_source_suffix %} 
{% set suffix = page_source_suffix %}
{% else %}
{% set suffix = source_suffix %}
{% endif %}

{% if meta is defined and 'github_url' in meta %}
{% set display_github = True %}
{% endif %}

{% if meta is defined and 'bitbucket_url' in meta %}
{% set display_bitbucket = True %}
{% endif %}

<div role="navigation" aria-label="breadcrumbs navigation">
  <ul class="wy-breadcrumbs">
      {% for doc in parents %}
        <li><a href="{{ doc.link|e }}">{{ doc.title }}</a> > </li>
      {% endfor %}
    <li>{{ title }}</li>
  </ul>
</div>