@@ -64,7 +64,37 @@
6464 <span class="gray3"> / </span>
6565 <a href="{{config.base_url}}/docs/">
6666 Documentation
67− </a>
67+ </a>
68+ <select class="mw4" id="docsSelect">
69+ <option>⌄</option>
70+ {% set index = get_section(path="docs/_index.md") %}
71+ {% for s in index.subsections %}
72+ {% set subsection = get_section(path=s) %}
73+ <option>{{ subsection.title }}</option>
74+ {% if subsection.pages %}
75+ {% for page in subsection.pages %}
76+ <option value="{{ page.permalink }}">{{ page.title }}</option>
77+ {% endfor %}
78+ {% for y in subsection.subsections %}
79+ {% set subsubsection = get_section(path=y) %}
80+ {% if subsubsection.pages %}
81+ {% for page in subsubsection.pages %}
82+ <option value="{{ page.permalink }}">{{ page.title }}</option>
83+ {% endfor %}
84+ {% for x in subsubsection.subsections %}
85+ {% set subsubsubsection = get_section(path=x) %}
86+ <option>{{ subsubsubsection.title }}</option>
87+ {% if subsubsubsection.pages %}
88+ {% for page in subsubsubsection.pages %}
89+ <option value="{{ page.permalink }}">{{ page.title }}</option>
90+ {% endfor %}
91+ {% endif %}
92+ {% endfor %}
93+ {% endif %}
94+ {% endfor %}
95+ {% endif %}
96+ {% endfor %}
97+ </select>
6898 <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
6999 <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
70100 </button>