diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-07-24 18:43:41 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-07-25 14:58:05 +0300 |
commit | df2198336bf8a0e513ac8f32cddf8b10278520db (patch) | |
tree | 2997a46226b1400f4773f14ad6160d60c33718d9 /doc/source/_templates | |
parent | 756dad2846b3ae531e6ebd94b6c0fe89b48f25c6 (diff) | |
download | numpy-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.html | 1 | ||||
-rw-r--r-- | doc/source/_templates/layout.html | 5 |
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> </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 %} |