File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ site
Original file line number Diff line number Diff line change 6969 ga ( 'send' , 'pageview' ) ;
7070 </ script >
7171 {% endif %}
72+
73+ {% block extrahead %}
74+ {% endblock %}
7275</ head >
7376
7477< body >
7578
79+ < h1 > This is an example theme.</ h1 >
80+
81+ < h2 > Generate Navigation</ h2 >
7682 <!--
7783 Create the navigation for the documentation.
7884 -->
99105
100106 < hr />
101107
108+ < h2 > Support for search</ h2 >
102109 <!--
103110 Create a search form that sends the user to the search.html file - this is
104111 the other file in the template which adds search to the theme. The only
113120
114121 < hr />
115122
123+ < h2 > Next and previous links</ h2 >
116124 <!--
117125 Implement the previous and next links to cycle through the pages.
118126 -->
129137
130138 < hr />
131139
132- {% if current_page %} < li > {{ current_page.title }} </ li > {% endif %}
133-
134- < hr />
135-
140+ < h2 > Link to the source </ h2 >
141+ <!--
142+ Support repo URL
143+ -->
136144 {% if repo_url %}
137145 {% if repo_name == 'GitHub' %}
138146 < a href ="{{ repo_url }} "> Edit on GitHub</ a >
139147 {% elif repo_name == 'Bitbucket' %}
140148 < a href ="{{ repo_url }} "> Edit on BitBucket</ a >
149+ {% else %}
150+ < a href ="{{ repo_url }} "> Edit in Repository</ a >
141151 {% endif %}
142152 {% endif %}
143153
144154 < hr />
145155
156+ < h2 > Show the table of contents for the current page</ h2 >
146157 < ul >
147158 {% for toc_item in toc %}
148159 < li > < a href ="{{ toc_item.url }} "> {{ toc_item.title }}</ a > </ li >
160171
161172 < hr />
162173
163- < div role ="contentinfo ">
164- < p >
165- <!-- Copyright etc -->
166- </ p >
167- </ div >
168-
169174 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 > .
170175
171176 <!--
You can’t perform that action at this time.
0 commit comments