summaryrefslogtreecommitdiffstats
path: root/Doc/conf.py
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2016-09-09 20:11:27 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2016-09-09 20:11:27 (GMT)
commita3090a4b79aa16f742d465aea894f148a00ae2c5 (patch)
tree3630ba9da7486420d2c252a3a033b21ca119d9b2 /Doc/conf.py
parent1140a0342613c30feaedfe96b9e09ad7248de490 (diff)
downloadcpython-a3090a4b79aa16f742d465aea894f148a00ae2c5.zip
cpython-a3090a4b79aa16f742d465aea894f148a00ae2c5.tar.gz
cpython-a3090a4b79aa16f742d465aea894f148a00ae2c5.tar.bz2
Issue #19489: Move the search box from sidebar to header and footer.
Diffstat (limited to 'Doc/conf.py')
-rw-r--r--Doc/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/conf.py b/Doc/conf.py
index d6f20ba..b1bb620 100644
--- a/Doc/conf.py
+++ b/Doc/conf.py
@@ -60,7 +60,10 @@ templates_path = ['tools/templates']
# Custom sidebar templates, filenames relative to this file.
html_sidebars = {
- 'index': 'indexsidebar.html',
+ # Defaults taken from http://www.sphinx-doc.org/en/stable/config.html#confval-html_sidebars
+ # Removes the quick search block
+ '**': ['localtoc.html', 'relations.html', 'customsourcelink.html'],
+ 'index': ['indexsidebar.html'],
}
# Additional templates that should be rendered to pages.