summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-09-06 22:33:36 +0300
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2017-09-12 10:06:58 +0300
commit6b46e15b6e0f3b7eeed7b6ec06522cf2b92253ca (patch)
tree7b107fdfc482dad36d395f0b42fc2519474ef3a1 /docs/conf.py
parent189eaf7e471ee2dd441e587ad7437035ab831aac (diff)
downloadcherrypy-git-6b46e15b6e0f3b7eeed7b6ec06522cf2b92253ca.tar.gz
Add Python 2 EOL top banner with countdown to docs
Inspired by kennethreitz/python-guide@7a58e5c
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 6005ced9..dc34501f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -162,7 +162,10 @@ html_static_path = ['_static']
#html_use_smartypants = True # noqa
# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {} # noqa
+html_sidebars = {
+ 'index': 'python_2_eol.html',
+ '**': 'python_2_eol.html',
+}
# Additional templates that should be rendered to pages, maps page names to
# template names.