From 07ecae7c8237ff23fdf5f88e212a584285e2fb6c Mon Sep 17 00:00:00 2001 From: Michael Merickel <michael@merickel.org> Date: Tue, 27 Jun 2017 07:16:16 +0200 Subject: [PATCH] mark 1.8 as outdated documentation --- docs/conf.py | 38 +++++++++++++++++++------------------- 1 files changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 63bbe0d..e1ef79a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -57,7 +57,7 @@ 'sphinx.ext.viewcode', 'sphinxcontrib.autoprogram', # enable pylons_sphinx_latesturl when this branch is no longer "latest" - # 'pylons_sphinx_latesturl', + 'pylons_sphinx_latesturl', ] # Looks for objects in external projects @@ -134,23 +134,23 @@ # Options for HTML output # ----------------------- # enable pylons_sphinx_latesturl when this branch is no longer "latest" -# pylons_sphinx_latesturl_base = ( -# 'https://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', -# 'whatsnew-1.6': 'index', -# 'whatsnew-1.7': 'index', -# 'whatsnew-1.8': 'index', -# 'tutorials/gae/index': 'index', -# 'api/chameleon_text': 'api', -# 'api/chameleon_zpt': 'api', -# } +pylons_sphinx_latesturl_base = ( + 'https://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', + 'whatsnew-1.6': 'index', + 'whatsnew-1.7': 'index', + 'whatsnew-1.8': '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() @@ -160,7 +160,7 @@ # pre-release status: true; else: false. in_progress='false', # On branches previous to "latest": true; else: false. - outdated='false', + outdated='true', ) # The name for this set of Sphinx documents. If None, it defaults to -- Gitblit v1.9.3