~ubuntu-branches/ubuntu/trusty/maas/trusty-updates

« back to all changes in this revision

Viewing changes to docs/conf.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-04-07 10:26:51 UTC
  • mfrom: (1.2.28)
  • Revision ID: package-import@ubuntu.com-20140407102651-uxbijablq8l62hfr
Tags: 1.5+bzr2230-0ubuntu1
* New upstream bugfix release:
  - Fix Cluster Controller to handle deprecated config items gracefull.
    Otherwise it fails on upgrades. (LP: #1302772)
  - Fix documentation generation and referencing. (LP: #1302956)
  - Ensure we PXE boot when we turn on SM15K systems. (LP: #1303915)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
# -- General configuration -----------------------------------------------------
24
24
 
 
25
# Add a widget to switch between different versions of the documentation to
 
26
# each generated page.
 
27
add_version_switcher = False
 
28
 
 
29
# In order for the version widget to be able to redirect correctly to the
 
30
# other versions of the documentation, each version of the documentation
 
31
# has to be accessible at the following addresses:
 
32
# /<doc_prefix>/ -> documentation for trunk.
 
33
# /<doc_prefix>1.4/ ->  documentation for 1.4.
 
34
# etc.
 
35
doc_prefix = 'docs'
 
36
 
 
37
# Path of the JSON document, relative to homepage of the documentation for trunk
 
38
# (i.e. '/<doc_prefix>/'), with the list of the versions to include in the
 
39
# version switcher widget.
 
40
versions_path = '_static/versions.js'
 
41
 
25
42
# If your documentation needs a minimal Sphinx version, state it here.
26
43
#needs_sphinx = '1.0'
27
44
 
240
257
 
241
258
# Example configuration for intersphinx: refer to the Python standard library.
242
259
intersphinx_mapping = {'http://docs.python.org/': None}
 
260
 
 
261
# Populate html_context with the variables used in the templates.
 
262
html_context = {
 
263
    'add_version_switcher': 'true' if add_version_switcher else 'false',
 
264
    'versions_json_path': '/'.join(['', doc_prefix, versions_path]),
 
265
    'doc_prefix': doc_prefix,
 
266
}
 
267