summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-09-21 18:28:51 -0700
committerGitHub <noreply@github.com>2018-09-21 18:28:51 -0700
commite79242f70982403197fed70a3079e876c47a604b (patch)
treed7aa2889b3611c11bce14cae7eafde9eaef51ed3
parentbff4d2b605c92fe2e6282861429ffc8e24c53796 (diff)
parentc8abfbba6414faeb85eb72b9d42825cbedc1ca48 (diff)
downloadpyramid-e79242f70982403197fed70a3079e876c47a604b.tar.gz
pyramid-e79242f70982403197fed70a3079e876c47a604b.tar.bz2
pyramid-e79242f70982403197fed70a3079e876c47a604b.zip
Merge pull request #3360 from stevepiercy/docs-add-rtd-ethical-ads-support
Add support for RTD Ethical Ads
-rw-r--r--CHANGES.rst4
-rw-r--r--docs/conf.py9
-rw-r--r--setup.py2
3 files changed, 14 insertions, 1 deletions
diff --git a/CHANGES.rst b/CHANGES.rst
index 63c9979f0..1530516f6 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -114,6 +114,10 @@ Backward Incompatibilities
Documentation Changes
---------------------
+- Ad support for Read The Docs Ethical Ads.
+ https://github.com/Pylons/pyramid/pull/3360
+ https://docs.readthedocs.io/en/latest/advertising/ethical-advertising.html
+
- Add support for alembic to the pyramid-cookiecutter-alchemy cookiecutter
and update the wiki2 tutorial to explain how it works.
See https://github.com/Pylons/pyramid/pull/3307 and
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',