Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Commit

Permalink
Small updates
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ugal committed Apr 25, 2015
1 parent 6593b0b commit 06e3d63
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
site
25 changes: 15 additions & 10 deletions basic_theme/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,16 @@
ga('send', 'pageview');
</script>
{% endif %}

{% block extrahead %}
{% endblock %}
</head>

<body>

<h1>This is an example theme.</h1>

<h2>Generate Navigation</h2>
<!--
Create the navigation for the documentation.
-->
Expand All @@ -99,6 +105,7 @@

<hr/>

<h2>Support for search</h2>
<!--
Create a search form that sends the user to the search.html file - this is
the other file in the template which adds search to the theme. The only
Expand All @@ -113,6 +120,7 @@

<hr/>

<h2>Next and previous links</h2>
<!--
Implement the previous and next links to cycle through the pages.
-->
Expand All @@ -129,20 +137,23 @@

<hr/>

{% if current_page %}<li>{{ current_page.title }}</li>{% endif %}

<hr/>

<h2>Link to the source</h2>
<!--
Support repo URL
-->
{% if repo_url %}
{% if repo_name == 'GitHub' %}
<a href="{{ repo_url }}"> Edit on GitHub</a>
{% elif repo_name == 'Bitbucket' %}
<a href="{{ repo_url }}"> Edit on BitBucket</a>
{% else %}
<a href="{{ repo_url }}"> Edit in Repository</a>
{% endif %}
{% endif %}

<hr/>

<h2>Show the table of contents for the current page</h2>
<ul>
{% for toc_item in toc %}
<li><a href="{{ toc_item.url }}">{{ toc_item.title }}</a></li>
Expand All @@ -160,12 +171,6 @@

<hr/>

<div role="contentinfo">
<p>
<!-- Copyright etc -->
</p>
</div>

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>.

<!--
Expand Down

0 comments on commit 06e3d63

Please sign in to comment.