6
6
# All configuration values have a default; values that are commented out
7
7
# serve to show the default.
9
from __future__ import absolute_import
11
# FIXME: better move the content of doc/en/conf.py here and cleanup the result
11
14
# If extensions (or modules to document with autodoc) are in another directory,
12
15
# add these directories to sys.path here. If the directory is relative to the
13
16
# documentation root, use os.path.abspath to make it absolute, like shown here.
14
#sys.path.append(os.path.abspath('.'))
17
# sys.path.append(os.path.abspath('.'))
17
20
# -- General configuration -----------------------------------------------------
19
22
# Add any Sphinx extension module names here, as strings. They can be extensions
20
23
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
21
extensions = ['sphinx.ext.ifconfig']
24
extensions = ['sphinx.ext.ifconfig', ]
23
26
# Add any paths that contain templates here, relative to this directory.
24
27
templates_path = ['_templates']
33
36
master_doc = 'index'
35
38
# General information about the project.
37
copyright = u'2009, Canonical Ltd'
40
copyright = u'2009-2011 Canonical Ltd'
39
42
# The version info for the project you're documenting, acts as replacement for
40
43
# |version| and |release|, also used in various other places throughout the
43
46
# The short X.Y version.
45
version = '.'.join(str(p) for p in bzrlib.version_info[:2])
48
version = '.'.join(str(p) for p in breezy.version_info[:2])
46
49
# The full version, including alpha/beta/rc tags.
47
release = bzrlib.version_string
50
release = breezy.version_string
49
52
# The language for content autogenerated by Sphinx. Refer to documentation
50
53
# for a list of supported languages.
97
100
# Unfortunately, the right sidebar breaks under IE6 and maybe IE7.
98
101
# So we stick with the default left placement to cater for users stuck
99
102
# on those browsers.
100
#'rightsidebar': True,
103
# 'rightsidebar': True,
102
105
# Non-document areas: header (relbar), footer, sidebar, etc.
103
106
# Some useful colours here:
104
107
# * blue: darkblue, mediumblue, darkslateblue, cornflowerblue, royalblue,
106
109
# * gray: dimgray, slategray, lightslategray
107
'sidebarbgcolor': "cornflowerblue",
110
'sidebarbgcolor': "cornflowerblue",
108
111
'sidebarlinkcolor': "midnightblue",
109
'relbarbgcolor': "darkblue",
110
'footerbgcolor': "lightslategray",
112
'relbarbgcolor': "darkblue",
113
'footerbgcolor': "lightslategray",
112
115
# Text, heading and code colouring
113
'codebgcolor': "lightyellow",
114
'codetextcolor': "firebrick",
115
'linkcolor': "mediumblue",
116
'codebgcolor': "lightyellow",
117
'codetextcolor': "firebrick",
118
'linkcolor': "mediumblue",
118
121
# Add any paths that contain custom themes here, relative to this directory.
132
135
# The name of an image file (within the static path) to use as favicon of the
133
136
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
135
html_favicon = "bzr.ico"
138
# TODO(jelmer): add a brz.ico
139
# html_favicon = "brz.ico"
137
141
# Add any paths that contain custom static files (such as style sheets) here,
138
142
# relative to this directory. They are copied after the builtin static files,
193
197
# The name of an image file (relative to this directory) to place at the top of
194
198
# the title page.
195
latex_logo = '../Bazaar-Logo-For-Manuals.png'
199
# latex_logo = '../Bazaar-Logo-For-Manuals.png'
197
201
# For "manual" documents, if this is true, then toplevel headings are parts,