~lutostag/ubuntu/trusty/maas/1.5.2

« back to all changes in this revision

Viewing changes to docs/conf.py

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2014-05-09 22:35:43 UTC
  • mfrom: (1.2.32)
  • Revision ID: package-import@ubuntu.com-20140509223543-wc0s7r7b1zqxmrl8
Tags: 1.5.1+bzr2269-0ubuntu0.1
* Stable Release Update (LP: #1317601):
  - Hardware Enablement for Cisco B-Series. (LP: #1300476)
  - Allow AMT power type to specify IP Address. (LP: #1308772)
  - Spurious failure when starting and creating lock files. (LP: 1308069)
  - Fix usage of hardware enablement kernels by fixing the preseeds
    (LP: #1310082, LP: #1310076, LP: #1310082)
  - Fix parallel juju deployments. (LP: #1314409)
  - Clear distro_series when stopping node from WebUI (LP: #1316396)
  - Fix click hijacking (LP: #1298784)
  - Fix blocking API client when deleting a resource (LP: #1313556)
  - Do not import Trusty RC images by default (LP: #1311151)
  - debian/control: Add missing dep on python-crochet for
    python-maas-provisioningserver (LP: #1311765)

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
# Example configuration for intersphinx: refer to the Python standard library.
259
259
intersphinx_mapping = {'http://docs.python.org/': None}
260
260
 
 
261
# Gather information about the branch and the build date.
 
262
from subprocess import check_output
 
263
bzr_last_revision_number = check_output(['bzr', 'revno'])
 
264
bzr_last_revision_date = check_output(['bzr', 'version-info', '--template={date}', '--custom'])
 
265
bzr_build_date = check_output(['bzr', 'version-info', '--template={build_date}', '--custom'])
 
266
 
261
267
# Populate html_context with the variables used in the templates.
262
268
html_context = {
263
269
    'add_version_switcher': 'true' if add_version_switcher else 'false',
264
270
    'versions_json_path': '/'.join(['', doc_prefix, versions_path]),
265
271
    'doc_prefix': doc_prefix,
 
272
    'bzr_last_revision_date': bzr_last_revision_date,
 
273
    'bzr_last_revision_number': bzr_last_revision_number,
 
274
    'bzr_build_date': bzr_build_date,
266
275
}
267
276