@@ -64,7 +64,37 @@
64 <span class="gray3"> / </span>
64 <span class="gray3"> / </span>
65 <a href="{{config.base_url}}/docs/">
65 <a href="{{config.base_url}}/docs/">
66 Documentation
66 Documentation
68+ <select class="mw4" id="docsSelect">
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>
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>
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>
68 <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
98 <button id="js-search-window-toggle" class="mt4 mb4" type="button" style="outline:none">
69 <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
99 <span id="search-icon" class="f3 gray3">⚲</span><span class="ml3 gray2">Search</span>
70 </button>
100 </button>