2424 < link rel ="shortcut icon " href ="{{ base_url }}/img/favicon.ico ">
2525 {% endif %}
2626
27+ <!--
28+ You can include external assets of course, but be aware that it means the
29+ documentation may not work well offline.
30+ -->
31+ < link rel ="stylesheet " href ="http://yui.yahooapis.com/pure/0.6.0/pure-min.css ">
32+
33+ < link rel ="stylesheet " href ="{{ base_url }}/css/theme.css ">
34+
2735 <!--
2836 extra_ess contains paths to CSS files in the users
2937 documentation directory or a list of CSS files defined in
7886
7987 < h1 > This is an example theme.</ h1 >
8088
81- < h2 > Generate Navigation</ h2 >
89+ < h2 > Documentation Navigation</ h2 >
90+
8291 <!--
8392 Create the navigation for the documentation.
93+
94+ Because we don't know how many levels deep the navigation is, it needs to
95+ be included in it's own file so it can be recursive. Otherwise the theme
96+ can also only support a specific number of levels.
97+
98+ See the nav.html file for more details about how this works.
8499 -->
85100 < ul >
86- {% for nav_item in nav %}
87- {% if nav_item.children %}
88- < li > {{ nav_item.title }}
89- < ul >
90- {% for nav_item in nav_item.children %}
91- < li class ="{% if nav_item.active%}current{%endif%} ">
92- < a href ="{{ nav_item.url }} "> {{ nav_item.title }}</ a >
93- </ li >
94- {% endfor %}
95- </ ul >
96- </ li >
97- {% else %}
98- < li class ="{% if nav_item.active%}current{%endif%} ">
99- < a href ="{{ nav_item.url }} "> {{ nav_item.title }}</ a >
100- </ li >
101- {% endif %}
102-
103- {% endfor %}
101+ {% for nav_item in nav %}
102+ {% include "nav.html" %}
103+ {% endfor %}
104104 </ ul >
105105
106106 < hr />
@@ -126,11 +126,16 @@ <h2>Next and previous links</h2>
126126 -->
127127 {% if next_page or previous_page %}
128128 < div >
129- {% if next_page %}
130- < a href ="{{ next_page.url }} " title ="{{ next_page.title }} "/> Next Page</ a >
131- {% endif %}
132129 {% if previous_page %}
133- < a href ="{{ previous_page.url }} " title ="{{ previous_page.title }} "> Previous Page</ a >
130+ < a href ="{{ previous_page.url }} " title ="{{ previous_page.title }} "> ← Previous Page</ a >
131+ {% else %}
132+ ← Previous Page
133+ {% endif %}
134+ -
135+ {% if next_page %}
136+ < a href ="{{ next_page.url }} " title ="{{ next_page.title }} "/> Next Page →</ a >
137+ {% else %}
138+ Next Page →
134139 {% endif %}
135140 </ div >
136141 {% endif %}
@@ -171,7 +176,7 @@ <h2>Show the table of contents for the current page</h2>
171176
172177 < hr />
173178
174- Built with < a href ="http://www.mkdocs.org "> MkDocs</ a > using a < a href =" https://github.com/snide/sphinx_rtd_theme " > theme </ a > provided by < a href =" https://readthedocs.org " > Read the Docs </ a > .
179+ Built with < a href ="http://www.mkdocs.org "> MkDocs</ a > .
175180
176181 <!--
177182 MkDocs version : {{ mkdocs_version }}
0 commit comments