summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2016-01-30 18:04:49 -0800
committerSteve Piercy <web@stevepiercy.com>2016-01-30 18:04:49 -0800
commit48738dc116f9916356ac1d41029c3682b978a4ed (patch)
tree192bee5479740b268dddd31432ddbf2ef402ee50 /docs/conf.py
parenta151300749bfe5b361b10121d8433023d79887b9 (diff)
downloadpyramid-48738dc116f9916356ac1d41029c3682b978a4ed.tar.gz
pyramid-48738dc116f9916356ac1d41029c3682b978a4ed.tar.bz2
pyramid-48738dc116f9916356ac1d41029c3682b978a4ed.zip
add instructions for enabling pylons_sphinx_latesturl on previously released branch when making a new major release
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 4cac1e913..1004e1cf9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -55,6 +55,8 @@ extensions = [
'sphinx.ext.viewcode',
'sphinx.ext.intersphinx',
'sphinxcontrib.programoutput',
+ # enable pylons_sphinx_latesturl when this branch is no longer "latest"
+ # 'pylons_sphinx_latesturl',
]
# Looks for objects in external projects
@@ -124,6 +126,21 @@ if book:
# Options for HTML output
# -----------------------
+# enable pylons_sphinx_latesturl when this branch is no longer "latest"
+# pylons_sphinx_latesturl_base = (
+# 'http://docs.pylonsproject.org/projects/pyramid/en/latest/')
+# pylons_sphinx_latesturl_pagename_overrides = {
+# # map old pagename -> new pagename
+# 'whatsnew-1.0': 'index',
+# 'whatsnew-1.1': 'index',
+# 'whatsnew-1.2': 'index',
+# 'whatsnew-1.3': 'index',
+# 'whatsnew-1.4': 'index',
+# 'whatsnew-1.5': 'index',
+# 'tutorials/gae/index': 'index',
+# 'api/chameleon_text': 'api',
+# 'api/chameleon_zpt': 'api',
+# }
html_theme = 'pyramid'
html_theme_path = pylons_sphinx_themes.get_html_themes_path()