1
# -*- coding: utf-8 -*-
3
# Bazaar documentation build configuration file, created by
4
# sphinx-quickstart on Tue Jul 21 17:04:52 2009.
6
# This file is execfile()d with the current directory set to its containing dir.
8
# Note that not all possible configuration values are present in this
11
# All configuration values have a default; values that are commented out
12
# serve to show the default.
16
# If extensions (or modules to document with autodoc) are in another directory,
17
# add these directories to sys.path here. If the directory is relative to the
18
# documentation root, use os.path.abspath to make it absolute, like shown here.
19
#sys.path.append(os.path.abspath('.'))
22
# -- Bazaar-specific configuration ---------------------------------------------
24
# NOTE: Editing this section is generally all that is required ...
26
# We *could* get this from bzrlib but there's no certainly that the bzr on
27
# the Python path is indeed the one we're building the documentation for ...
28
bzr_version = (2, 0, 0, 'rc', 2)
30
# The locale code for this documentation set
33
# Authors of the documents
34
bzr_team = u'Bazaar Developers'
38
u'Table of Contents (%s)': u'Содержание (%s)',
39
u'Bazaar User Guide': None,
40
u'Bazaar User Reference': None,
41
u'Bazaar Release Notes': None,
42
u'Bazaar Upgrade Guide': None,
43
u'Bazaar in five minutes': u'Базар за пять минут',
44
u'Bazaar Tutorial': u'Большой учебник',
45
u'Using Bazaar With Launchpad': u'Использование Bazaar с Launchpad',
46
u'Centralized Workflow Tutorial': u'Работа в централизованном стиле',
50
# Helper function for looking up translations
52
return bzr_titles.get(s) or s
55
# -- General configuration -----------------------------------------------------
57
# Add any Sphinx extension module names here, as strings. They can be extensions
58
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
59
extensions = ['sphinx.ext.ifconfig']
61
# Add any paths that contain templates here, relative to this directory.
62
templates_path = ['_templates']
64
# The suffix of source filenames.
65
source_suffix = '.txt'
67
# The encoding of source files.
68
#source_encoding = 'utf-8'
70
# The master toctree document.
73
# General information about the project.
75
copyright = u'2009, Canonical Ltd'
77
# The version info for the project you're documenting, acts as replacement for
78
# |version| and |release|, also used in various other places throughout the
81
# The short X.Y version.
82
version = '.'.join(str(p) for p in bzr_version[:3])
83
# The full version, including alpha/beta/rc tags.
84
release = version + ''.join(str(p) for p in bzr_version[3:])
86
# The language for content autogenerated by Sphinx. Refer to documentation
87
# for a list of supported languages.
90
# There are two options for replacing |today|: either, you set today to some
91
# non-false value, then it is used:
93
# Else, today_fmt is used as the format for a strftime call.
94
#today_fmt = '%B %d, %Y'
96
# List of documents that shouldn't be included in the build.
99
# List of directories, relative to source directory, that shouldn't be searched
101
exclude_trees = ['_build']
103
# The reST default role (used for this markup: `text`) to use for all documents.
106
# If true, '()' will be appended to :func: etc. cross-reference text.
107
#add_function_parentheses = True
109
# If true, the current module name will be prepended to all description
110
# unit titles (such as .. function::).
111
#add_module_names = True
113
# If true, sectionauthor and moduleauthor directives will be shown in the
114
# output. They are ignored by default.
115
#show_authors = False
117
# The name of the Pygments (syntax highlighting) style to use.
118
pygments_style = 'sphinx'
120
# A list of ignored prefixes for module index sorting.
121
#modindex_common_prefix = []
124
# -- Options for HTML output ---------------------------------------------------
126
# The theme to use for HTML and HTML Help pages. Major themes that come with
127
# Sphinx are currently 'default' and 'sphinxdoc'.
128
html_theme = 'default'
130
# Theme options are theme-specific and customize the look and feel of a theme
131
# further. For a list of options available for each theme, see the
133
html_theme_options = {
134
'rightsidebar': True,
136
# Non-document areas: header (relbar), footer, sidebar, etc.
137
# Some useful colours here:
138
# * blue: darkblue, mediumblue, darkslateblue, cornflowerblue, royalblue,
140
# * gray: dimgray, slategray, lightslategray
141
'sidebarbgcolor': "cornflowerblue",
142
'sidebarlinkcolor': "midnightblue",
143
'relbarbgcolor': "darkblue",
144
'footerbgcolor': "lightslategray",
146
# Text, heading and code colouring
147
'codebgcolor': "lightyellow",
148
'codetextcolor': "firebrick",
149
'linkcolor': "mediumblue",
152
# Add any paths that contain custom themes here, relative to this directory.
153
#html_theme_path = []
155
# The name for this set of Sphinx documents. If None, it defaults to
156
# "<project> v<release> documentation".
159
# A shorter title for the navigation bar. Default is the same as html_title.
160
html_short_title = bzr_title(u"Table of Contents (%s)") % (release,)
162
# The name of an image file (relative to this directory) to place at the top
166
# The name of an image file (within the static path) to use as favicon of the
167
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
169
html_favicon = "bzr.ico"
171
# Add any paths that contain custom static files (such as style sheets) here,
172
# relative to this directory. They are copied after the builtin static files,
173
# so a file named "default.css" will overwrite the builtin "default.css".
174
html_static_path = ['_static']
176
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
177
# using the given strftime format.
178
#html_last_updated_fmt = '%b %d, %Y'
180
# If true, SmartyPants will be used to convert quotes and dashes to
181
# typographically correct entities.
182
#html_use_smartypants = True
184
# Custom sidebar templates, maps document names to template names.
187
# Additional templates that should be rendered to pages, maps page names to
189
#html_additional_pages = {'index': 'index.html'}
191
# If false, no module index is generated.
192
html_use_modindex = False
194
# If false, no index is generated.
195
html_use_index = False
197
# If true, the index is split into individual pages for each letter.
198
#html_split_index = False
200
# If true, links to the reST sources are added to the pages.
201
html_show_sourcelink = True
203
# If true, an OpenSearch description file will be output, and all pages will
204
# contain a <link> tag referring to it. The value of this option must be the
205
# base URL from which the finished HTML is served.
206
#html_use_opensearch = ''
208
# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
209
#html_file_suffix = ''
211
# Output file base name for HTML help builder.
212
htmlhelp_basename = 'bzr-%s-user-docs' % (bzr_locale,)
215
# -- Options for LaTeX output --------------------------------------------------
217
# The paper size ('letter' or 'a4').
218
#latex_paper_size = 'letter'
220
# The font size ('10pt', '11pt' or '12pt').
221
#latex_font_size = '10pt'
223
# Grouping the document tree into LaTeX files. List of tuples
224
# (source start file, target name, title, author, documentclass [howto/manual]).
227
#('user-guide/index', 'bzr-%s-user-guide.tex' % (bzr_locale,),
228
# bzr_title(u'Bazaar User Guide'), bzr_team, 'manual'),
229
#('user-reference/bzr_man', 'bzr-%s-user-reference.tex' % (bzr_locale,),
230
# bzr_title(u'Bazaar User Reference'), bzr_team, 'manual'),
231
#('release-notes/NEWS', 'bzr-%s-release-notes.tex' % (bzr_locale,),
232
# bzr_title(u'Bazaar Release Notes'), bzr_team, 'manual'),
233
#('upgrade-guide/index', 'bzr-%s-upgrade-guide.tex' % (bzr_locale,),
234
# bzr_title(u'Bazaar Upgrade Guide'), bzr_team, 'manual'),
236
('mini-tutorial/index', 'bzr-%s-tutorial-mini.tex' % (bzr_locale,),
237
bzr_title(u'Bazaar in five minutes'), bzr_team, 'howto'),
238
('tutorials/tutorial', 'bzr-%s-tutorial.tex' % (bzr_locale,),
239
bzr_title(u'Bazaar Tutorial'), bzr_team, 'howto'),
240
('tutorials/using_bazaar_with_launchpad',
241
'bzr-%s-tutorial-with-launchpad.tex' % (bzr_locale,),
242
bzr_title(u'Using Bazaar With Launchpad'), bzr_team, 'howto'),
243
('tutorials/centralized_workflow',
244
'bzr-%s-tutorial-centralized.tex' % (bzr_locale,),
245
bzr_title(u'Centralized Workflow Tutorial'), bzr_team, 'howto'),
248
# The name of an image file (relative to this directory) to place at the top of
250
latex_logo = 'Bazaar-Logo-For-Manuals.png'
252
# For "manual" documents, if this is true, then toplevel headings are parts,
254
#latex_use_parts = False
256
# Additional stuff for the LaTeX preamble.
259
# Documents to append as an appendix to all manuals.
260
#latex_appendices = []
262
# If false, no module index is generated.
263
#latex_use_modindex = True