From 69d6473d35cb15a5832591bda424277df0a63bf3 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Fri, 27 Feb 2009 22:27:14 +0000 Subject: docs: move edit link to the sidebar, and show it for all pages --- doc/source/_templates/layout.html | 13 +++++++++++++ doc/source/conf.py | 3 --- 2 files changed, 13 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/_templates/layout.html b/doc/source/_templates/layout.html index 5338fc6f6..27798878e 100644 --- a/doc/source/_templates/layout.html +++ b/doc/source/_templates/layout.html @@ -2,3 +2,16 @@ {% block rootrellink %}
  • {{ shorttitle }}{{ reldelim1 }}
  • {% endblock %} + +{% block sidebarsearch %} +{%- if sourcename %} + +{%- endif %} +{{ super() }} +{% endblock %} diff --git a/doc/source/conf.py b/doc/source/conf.py index 8203812d4..e5dac9023 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -207,9 +207,6 @@ intersphinx_mapping = {'http://docs.python.org/dev': None} # If we want to do a phantom import from an XML file for all autodocs phantom_import_file = 'dump.xml' -# Edit links -numpydoc_edit_link = '`Edit `__' - # ----------------------------------------------------------------------------- # Coverage checker # ----------------------------------------------------------------------------- -- cgit v1.2.1