Steve Piercy
2016-01-31 48738dc116f9916356ac1d41029c3682b978a4ed
add instructions for enabling pylons_sphinx_latesturl on previously released branch when making a new major release
2 files modified
20 ■■■■■ changed files
RELEASING.txt 3 ●●●● patch | view | raw | blame | history
docs/conf.py 17 ●●●●● patch | view | raw | blame | history
RELEASING.txt
@@ -36,7 +36,8 @@
- For major version releases, in docs/conf.py, update values under
  html_theme_options for in_progress and outdated across master, releasing
  branch, and previously released branch.
  branch, and previously released branch. Also in the previously released
  branch only, uncomment the sections to enable pylons_sphinx_latesturl.
- Change setup.py version to the new version number.
docs/conf.py
@@ -55,6 +55,8 @@
    '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 @@
# 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()