docs/_includes/mobile-nav-link.html
{% capture path %}{{ site.baseurl}}/docs/{{ page.version }}/{% if include.path %}{{ include.path }}{% else %}{{ include.label | slugify }}/{% endif %}{% endcapture %}
{% if link.section %}
{% unless forloop.first %}
</optgroup>
{% endunless %}
<optgroup label='{{link.section}}'>
{% endif %}
{% if link.label %}
<option value="{{path}}">{{link.label}}</option>
{% endif %}
{% if forloop.last %}
</optgroup>
{% endif %}