--- layout: default --- {% if page.permalink contains '/docs' %} {% assign items = site.data.docs %} {% assign category = "Documentation" %} {% else %} {% assign category = "Guides" %} {% assign items = site.data.guides %} {% endif %} {% assign flattenedItems = "" | split: "" %} {% assign parts = "" | split: "" %} {% for item in items %} {% assign flattenedItems = flattenedItems | push: item %} {% if item.children != null %} {% for child in item.children %} {% unless child.url contains '#' %} {% assign flattenedItems = flattenedItems | push: child %} {% if child.url == page.permalink %} {% assign parts = parts | push: item.title | push: child.title %} {% endif %} {% endunless %} {% endfor %} {% endif %} {% if item.url == page.permalink %} {% assign parts = parts | push: item.title %} {% endif %} {% endfor %}
{{ category }}: {{ parts | join: ' / ' }} {% include svg/octocat.svg %} Edit on Github

{% if page.stability == "review" %}
This page needs to be reviewed.
{% elsif page.stability == "incomplete" %}
This page is incomplete.
{% endif %}

{{ page.title }}

{{ content }}
{% for item in flattenedItems %} {% if page.permalink == item.url %} {% assign next = flattenedItems[forloop.index] %} {% unless forloop.first %} {% endunless %} {% unless forloop.last %} {% endunless %} {% endif %} {% assign prev = item %} {% endfor %}

{% include open-source.html %}