diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 13:11:27 -0700 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2016-09-09 13:11:27 -0700 |
commit | d4671ac15d942d6f2c5916e056f96cb6720166ab (patch) | |
tree | 6420431c63f8adf3bfced174847ebb32a06e357c /Doc/conf.py | |
parent | 753c693708b34d559ff82a9a8fcb06c4e1ecb57e (diff) | |
download | cpython-d4671ac15d942d6f2c5916e056f96cb6720166ab.tar.gz |
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 d6f20ba25c..b1bb6208bb 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. |