summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-09-21 18:07:22 -0700
committerSteve Piercy <web@stevepiercy.com>2018-09-21 18:07:22 -0700
commitd275ec131b63dd03f1922990752c5564841275cf (patch)
tree1da6eb1f75dab46e566ba42be15baf4c75b2d0c7
parent8cc4bf732f636abc06a2fbb72b2bd9ab0a680eb2 (diff)
downloadpyramid-d275ec131b63dd03f1922990752c5564841275cf.tar.gz
pyramid-d275ec131b63dd03f1922990752c5564841275cf.tar.bz2
pyramid-d275ec131b63dd03f1922990752c5564841275cf.zip
Add support for RTD Ethical Ads
-rw-r--r--docs/conf.py9
-rw-r--r--setup.py2
2 files changed, 10 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 8fe7108ff..6e3d41240 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -161,6 +161,15 @@ html_theme_options = dict(
outdated='false',
)
+# Control display of sidebars
+html_sidebars = {'**': [
+ 'localtoc.html',
+ 'ethicalads.html',
+ 'relations.html',
+ 'sourcelink.html',
+ 'searchbox.html',
+]}
+
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = 'The Pyramid Web Framework v%s' % release
diff --git a/setup.py b/setup.py
index 56f9e30d1..e38dcd656 100644
--- a/setup.py
+++ b/setup.py
@@ -43,7 +43,7 @@ tests_require = [
docs_extras = [
'Sphinx >= 1.7.4,<=1.7.9',
'docutils',
- 'pylons-sphinx-themes',
+ 'pylons-sphinx-themes >= 1.0.7',
'pylons_sphinx_latesturl',
'repoze.sphinx.autointerface',
'sphinxcontrib-autoprogram',