diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 20:11:27 (GMT) |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 20:11:27 (GMT) |
commit | a3090a4b79aa16f742d465aea894f148a00ae2c5 (patch) | |
tree | 3630ba9da7486420d2c252a3a033b21ca119d9b2 /Doc/conf.py | |
parent | 1140a0342613c30feaedfe96b9e09ad7248de490 (diff) | |
download | cpython-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.py | 5 |
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. |