{# warning: if doc structure change, these rules may have to change as well #} {# ===== VARIABLES ====== #} {% set master_doc_short_name = 'Developer Doc' %} {% if pagename == master_doc %}
  • {{ master_doc_short_name }}
  • {% else %} {% for parent in parents %} {% if loop.length > 1%} {% if loop.first %}
  • {{ master_doc_short_name }}
  • {% else %} {% if loop.index == 2 %}
  • {{parent.title}}
  • {% endif %} {% endif %} {% else %}
  • {{ master_doc_short_name }}
  • {% endif %} {% endfor %}
  • {{ meta.get('main-title', title) }}
  • {% endif %}