summaryrefslogtreecommitdiff
path: root/doc/source/_templates
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2013-07-24 18:43:41 +0300
committerPauli Virtanen <pav@iki.fi>2013-07-25 14:58:05 +0300
commitdf2198336bf8a0e513ac8f32cddf8b10278520db (patch)
tree2997a46226b1400f4773f14ad6160d60c33718d9 /doc/source/_templates
parent756dad2846b3ae531e6ebd94b6c0fe89b48f25c6 (diff)
downloadnumpy-df2198336bf8a0e513ac8f32cddf8b10278520db.tar.gz
DOC: use the new scipy-sphinx-theme in the documentation
Diffstat (limited to 'doc/source/_templates')
-rw-r--r--doc/source/_templates/indexsidebar.html1
-rw-r--r--doc/source/_templates/layout.html5
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/_templates/indexsidebar.html b/doc/source/_templates/indexsidebar.html
index 409743a03..9edb003af 100644
--- a/doc/source/_templates/indexsidebar.html
+++ b/doc/source/_templates/indexsidebar.html
@@ -1,5 +1,4 @@
<h3>Resources</h3>
<ul>
<li><a href="http://scipy.org/">Scipy.org website</a></li>
- <li>&nbsp;</li>
</ul>
diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html
index 27798878e..77da54a00 100644
--- a/doc/source/_templates/layout.html
+++ b/doc/source/_templates/layout.html
@@ -1,6 +1,9 @@
{% extends "!layout.html" %}
+
{% block rootrellink %}
-<li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
+ {% if pagename != 'index' %}
+ <li class="active"><a href="{{ pathto('index') }}">{{ shorttitle|e }}</a></li>
+ {% endif %}
{% endblock %}
{% block sidebarsearch %}