~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/doc_generate/sphinx_conf.py

  • Committer: Robert Collins
  • Date: 2010-05-06 23:41:35 UTC
  • mto: This revision was merged to the branch mainline in revision 5223.
  • Revision ID: robertc@robertcollins.net-20100506234135-yivbzczw1sejxnxc
Lock methods on ``Tree``, ``Branch`` and ``Repository`` are now
expected to return an object which can be used to unlock them. This reduces
duplicate code when using cleanups. The previous 'tokens's returned by
``Branch.lock_write`` and ``Repository.lock_write`` are now attributes
on the result of the lock_write. ``repository.RepositoryWriteLockResult``
and ``branch.BranchWriteLockResult`` document this. (Robert Collins)

``log._get_info_for_log_files`` now takes an add_cleanup callable.
(Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 
9
9
import sys, os
10
10
 
11
 
# FIXME: better move the content of doc/en/conf.py here and cleanup the result
12
 
# -- vila 20100428
13
 
 
14
11
# If extensions (or modules to document with autodoc) are in another directory,
15
12
# add these directories to sys.path here. If the directory is relative to the
16
13
# documentation root, use os.path.abspath to make it absolute, like shown here.
21
18
 
22
19
# Add any Sphinx extension module names here, as strings. They can be extensions
23
20
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
24
 
extensions = ['sphinx.ext.ifconfig',
25
 
              'bzrlib.doc_generate.builders.texinfo']
 
21
extensions = ['sphinx.ext.ifconfig']
26
22
 
27
23
# Add any paths that contain templates here, relative to this directory.
28
24
templates_path = ['_templates']
38
34
 
39
35
# General information about the project.
40
36
project = u'Bazaar'
41
 
copyright = u'2009-2011 Canonical Ltd'
 
37
copyright = u'2009, Canonical Ltd'
42
38
 
43
39
# The version info for the project you're documenting, acts as replacement for
44
40
# |version| and |release|, also used in various other places throughout the