aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA_Rog <adam.thomas.rogerson@gmail.com>2019-08-14 00:40:12 +0100
committerBenoit Pierre <benoit.pierre@gmail.com>2019-08-13 23:40:12 +0000
commit05f42a2c14275937250c99478c94b20171d14aeb (patch)
treec853b2db3b326f361734c3dda8b1275d1ca3561e
parente40a6035d9e688d5a34077132b49c48dc74932f4 (diff)
downloadexternal_python_setuptools-05f42a2c14275937250c99478c94b20171d14aeb.tar.gz
external_python_setuptools-05f42a2c14275937250c99478c94b20171d14aeb.tar.bz2
external_python_setuptools-05f42a2c14275937250c99478c94b20171d14aeb.zip
Fixed html sidebars to supported version in Sphinx (#1804)
-rw-r--r--.travis.yml2
-rw-r--r--changelog.d/1565.misc.rst2
-rw-r--r--docs/conf.py2
3 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 64d0544c..8441261d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,6 +21,8 @@ jobs:
- <<: *latest_py3
env: LANG=C
- python: 3.8-dev
+ - <<: *latest_py3
+ env: TOXENV=docs DISABLE_COVERAGE=1
- <<: *default_py
stage: deploy (to PyPI for tagged commits)
if: tag IS present
diff --git a/changelog.d/1565.misc.rst b/changelog.d/1565.misc.rst
new file mode 100644
index 00000000..ca15573a
--- /dev/null
+++ b/changelog.d/1565.misc.rst
@@ -0,0 +1,2 @@
+Changed html_sidebars from string to list of string as per
+https://www.sphinx-doc.org/en/master/changes.html#id58
diff --git a/docs/conf.py b/docs/conf.py
index c7eb6d3f..cbd19fb4 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -69,7 +69,7 @@ html_theme_path = ['_theme']
html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-html_sidebars = {'index': 'indexsidebar.html'}
+html_sidebars = {'index': ['relations.html', 'sourcelink.html', 'indexsidebar.html', 'searchbox.html']}
# If false, no module index is generated.
html_use_modindex = False