64
35
source_suffix = '.rst'
66
37
# The encoding of source files.
67
# source_encoding = 'utf-8-sig'
38
#source_encoding = 'utf-8-sig'
69
40
# The master toctree document.
70
41
master_doc = 'index'
72
43
# General information about the project.
74
copyright = '2012-2014 Canonical Ltd'
45
copyright = '2013, Zygmunt Krynicki'
76
47
# The version info for the project you're documenting, acts as replacement for
77
48
# |version| and |release|, also used in various other places throughout the
80
51
# The short X.Y version.
81
version = "{0[0]}.{0[1]}".format(plainbox.__version__)
82
53
# The full version, including alpha/beta/rc tags.
83
release = "{0[0]}.{0[1]}.{0[2]}.{0[3]}.{0[4]}".format(plainbox.__version__)
85
56
# The language for content autogenerated by Sphinx. Refer to documentation
86
57
# for a list of supported languages.
89
60
# There are two options for replacing |today|: either, you set today to some
90
61
# non-false value, then it is used:
92
63
# Else, today_fmt is used as the format for a strftime call.
93
# today_fmt = '%B %d, %Y'
64
#today_fmt = '%B %d, %Y'
95
66
# List of patterns, relative to source directory, that match files and
96
67
# directories to ignore when looking for source files.
97
68
exclude_patterns = []
99
# The reST default role (used for this markup: `text`) to use for all
101
# default_role = None
70
# The reST default role (used for this markup: `text`) to use for all documents.
103
73
# If true, '()' will be appended to :func: etc. cross-reference text.
104
# add_function_parentheses = True
74
#add_function_parentheses = True
106
76
# If true, the current module name will be prepended to all description
107
77
# unit titles (such as .. function::).
108
# add_module_names = True
78
#add_module_names = True
110
80
# If true, sectionauthor and moduleauthor directives will be shown in the
111
81
# output. They are ignored by default.
112
# show_authors = False
114
84
# The name of the Pygments (syntax highlighting) style to use.
115
85
pygments_style = 'sphinx'
117
87
# A list of ignored prefixes for module index sorting.
118
# modindex_common_prefix = []
121
# -- Options for HTML output -------------------------------------------------
88
#modindex_common_prefix = []
91
# -- Options for HTML output ---------------------------------------------------
94
import sphinx_bootstrap_theme
96
html_theme = 'default'
97
html_theme_options = {}
99
html_theme = 'bootstrap'
100
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()
101
html_theme_options = {
102
'bootswatch_theme': 'united',
103
'navbar_class': "navbar navbar-inverse",
123
106
# The theme to use for HTML and HTML Help pages. See the documentation for
124
107
# a list of builtin themes.
126
# Use our custom theme. For now it only adds Disqus.com support but we may
127
# customize it further later on. The theme is called 'plainbox' and has one
128
# option which controls if disqus is active or not.
129
html_theme = 'plainbox'
131
109
# Theme options are theme-specific and customize the look and feel of a theme
132
110
# further. For a list of options available for each theme, see the
135
# Due to the way disqus works, it's only going to work on
136
# plainbox.readthedocs.org so only use it if building for readthedocs.
138
html_theme_options = {
139
'show_disqus': 'true' if os.environ.get(
140
"READTHEDOCS", None) == 'True' else ''
112
#html_theme_options = {}
143
114
# Add any paths that contain custom themes here, relative to this directory.
144
html_theme_path = ['_theme']
115
#html_theme_path = []
146
117
# The name for this set of Sphinx documents. If None, it defaults to
147
118
# "<project> v<release> documentation".
150
121
# A shorter title for the navigation bar. Default is the same as html_title.
151
# html_short_title = None
122
#html_short_title = None
153
124
# The name of an image file (relative to this directory) to place at the top
154
125
# of the sidebar.
157
128
# The name of an image file (within the static path) to use as favicon of the
158
129
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
160
# html_favicon = None
162
133
# Add any paths that contain custom static files (such as style sheets) here,
163
134
# relative to this directory. They are copied after the builtin static files,
167
138
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
168
139
# using the given strftime format.
169
# html_last_updated_fmt = '%b %d, %Y'
140
#html_last_updated_fmt = '%b %d, %Y'
171
142
# If true, SmartyPants will be used to convert quotes and dashes to
172
143
# typographically correct entities.
173
# html_use_smartypants = True
144
#html_use_smartypants = True
175
146
# Custom sidebar templates, maps document names to template names.
178
149
# Additional templates that should be rendered to pages, maps page names to
179
150
# template names.
180
# html_additional_pages = {}
151
#html_additional_pages = {}
182
153
# If false, no module index is generated.
183
# html_domain_indices = True
154
#html_domain_indices = True
185
156
# If false, no index is generated.
186
# html_use_index = True
157
#html_use_index = True
188
159
# If true, the index is split into individual pages for each letter.
189
# html_split_index = False
160
#html_split_index = False
191
162
# If true, links to the reST sources are added to the pages.
192
# html_show_sourcelink = True
163
#html_show_sourcelink = True
194
# If true, "Created using Sphinx" is shown in the HTML footer. Default is
196
# html_show_sphinx = True
165
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
166
#html_show_sphinx = True
198
168
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
199
# html_show_copyright = True
169
#html_show_copyright = True
201
171
# If true, an OpenSearch description file will be output, and all pages will
202
172
# contain a <link> tag referring to it. The value of this option must be the
203
173
# base URL from which the finished HTML is served.
204
# html_use_opensearch = ''
174
#html_use_opensearch = ''
206
176
# This is the file name suffix for HTML files (e.g. ".xhtml").
207
# html_file_suffix = None
177
#html_file_suffix = None
209
179
# Output file base name for HTML help builder.
210
htmlhelp_basename = 'Plainboxdoc'
213
# -- Options for LaTeX output ------------------------------------------------
180
htmlhelp_basename = 'PlainBoxdoc'
183
# -- Options for LaTeX output --------------------------------------------------
215
185
latex_elements = {
216
# The paper size ('letterpaper' or 'a4paper').
217
# 'papersize': 'letterpaper',
219
# The font size ('10pt', '11pt' or '12pt').
220
# 'pointsize': '10pt',
222
# Additional stuff for the LaTeX preamble.
186
# The paper size ('letterpaper' or 'a4paper').
187
#'papersize': 'letterpaper',
189
# The font size ('10pt', '11pt' or '12pt').
190
#'pointsize': '10pt',
192
# Additional stuff for the LaTeX preamble.
226
196
# Grouping the document tree into LaTeX files. List of tuples
227
# (source start file, target name, title, author,
228
# documentclass [howto/manual]).
197
# (source start file, target name, title, author, documentclass [howto/manual]).
229
198
latex_documents = [
230
('index', 'Plainbox.tex', 'Plainbox Documentation',
231
'Zygmunt Krynicki', 'manual'),
199
('index', 'PlainBox.tex', 'PlainBox Documentation',
200
'Zygmunt Krynicki', 'manual'),
234
# The name of an image file (relative to this directory) to place at the top
203
# The name of an image file (relative to this directory) to place at the top of
238
207
# For "manual" documents, if this is true, then toplevel headings are parts,
240
# latex_use_parts = False
209
#latex_use_parts = False
242
211
# If true, show page references after internal links.
243
# latex_show_pagerefs = False
212
#latex_show_pagerefs = False
245
214
# If true, show URL addresses after external links.
246
# latex_show_urls = False
215
#latex_show_urls = False
248
217
# Documents to append as an appendix to all manuals.
249
# latex_appendices = []
218
#latex_appendices = []
251
220
# If false, no module index is generated.
252
# latex_domain_indices = True
255
# -- Options for manual page output ------------------------------------------
221
#latex_domain_indices = True
224
# -- Options for manual page output --------------------------------------------
257
226
# One entry per manual page. List of tuples
258
227
# (source start file, name, description, authors, manual section).
259
_authors = ['Zygmunt Krynicki & Checkbox Contributors']
262
('manpages/plainbox', 'plainbox',
263
'toolkit for software and hardware integration testing',
265
('manpages/plainbox-trusted-launcher-1', 'plainbox-trusted-launcher-1',
266
'execute job command as another user', _authors, 1),
267
('manpages/plainbox-run', 'plainbox-run',
268
'run a test job', _authors, 1),
269
('manpages/plainbox-check-config', 'plainbox-check-config',
270
'check and display plainbox configuration', _authors, 1),
271
('manpages/plainbox-startprovider', 'plainbox-startprovider',
272
'create a new plainbox provider', _authors, 1),
273
('manpages/plainbox-self-test', 'plainbox-self-test',
274
'run unit and integration tests', _authors, 1),
275
('manpages/plainbox-manage.py', 'manage.py',
276
'plainbox provider management script', _authors, 1),
277
('manpages/plainbox-session', 'plainbox-session',
278
'session management sub-commands', _authors, 1),
279
('manpages/plainbox-session-list', 'plainbox-session-list',
280
'list available session', _authors, 1),
281
('manpages/plainbox-session-remove', 'plainbox-session-remove',
282
'remove one ore more sessions', _authors, 1),
283
('manpages/plainbox-session-show', 'plainbox-session-show',
284
'show a single session', _authors, 1),
285
('manpages/plainbox-session-archive', 'plainbox-session-archive',
286
'archive a single session', _authors, 1),
287
('manpages/plainbox-session-export', 'plainbox-session-export',
288
'(re-)export an existing session', _authors, 1),
289
('manpages/plainbox-dev', 'plainbox-dev',
290
'commands for test developers', _authors, 1),
291
('manpages/plainbox-dev-script', 'plainbox-dev-script',
292
'run a command from a job', _authors, 1),
293
('manpages/plainbox-dev-special', 'plainbox-dev-special',
294
'special/internal commands', _authors, 1),
295
('manpages/plainbox-dev-analyze', 'plainbox-dev-analyze',
296
'analyze how seleted jobs would be executed', _authors, 1),
297
('manpages/plainbox-dev-parse', 'plainbox-dev-parse',
298
'parse stdin with the specified parser', _authors, 1),
299
('manpages/plainbox-dev-crash', 'plainbox-dev-crash',
300
'crash the application', _authors, 1),
301
('manpages/plainbox-dev-logtest', 'plainbox-dev-logtest',
302
'log messages at various levels', _authors, 1),
303
('manpages/plainbox-dev-list', 'plainbox-dev-list',
304
'list and describe various objects', _authors, 1),
305
('manpages/plainbox-device', 'plainbox-device',
306
'device management commands', _authors, 1),
307
('manpages/plainbox-qml-shell', 'plainbox-qml-shell',
308
'standalone qml-native shell', _authors, 1),
310
('manpages/plainbox.conf', 'plainbox.conf',
311
'plainbox configuration file', _authors, 5),
313
('manpages/plainbox-session-structure', 'plainbox-session-structure',
314
'structure of per-session directory', _authors, 7),
315
('manpages/plainbox-template-units', 'plainbox-template-units',
316
'syntax and semantics of Plainbox template unit type', _authors, 7),
317
('manpages/plainbox-category-units', 'plainbox-category-units',
318
'syntax and semantics of Plainbox category unit type', _authors, 7),
319
('manpages/plainbox-file-units', 'plainbox-file-units',
320
'syntax and semantics of Plainbox file unit type', _authors, 7),
321
('manpages/plainbox-test-plan-units', 'plainbox-test-plan-units',
322
'syntax and semantics of Plainbox test plan unit type', _authors, 7),
323
('manpages/plainbox-job-units', 'plainbox-job-units',
324
'syntax and semantics of Plainbox job unit type', _authors, 7),
325
('manpages/plainbox-manifest-entry-units', 'plainbox-job-units',
326
'syntax and semantics of Plainbox manifest entry unit type',
328
('manpages/plainbox-exporter-units', 'plainbox-exporter-units',
329
'syntax and semantics of Plainbox exporter unit type',
331
('manpages/plainbox-packaging-meta-data-units',
332
'plainbox-packaging-meta-data-units',
333
'syntax and semantics of Plainbox package meta-data unit type',
335
('manpages/PLAINBOX_SESSION_SHARE', 'PLAINBOX_SESSION_SHARE',
336
'per-session runtime shared-state directory', _authors, 7),
337
('manpages/PLAINBOX_PROVIDER_DATA', 'PLAINBOX_PROVIDER_DATA',
338
'per-provider data directory', _authors, 7),
339
('manpages/CHECKBOX_DATA', 'CHECKBOX_DATA',
340
'legacy name for PLAINBOX_SESSION_SHARE', _authors, 7),
341
('manpages/CHECKBOX_SHARE', 'CHECKBOX_SHARE',
342
'legacy name for PLAINBOX_PROVIDER_DATA', _authors, 7),
229
('index', 'plainbox', 'PlainBox Documentation',
230
['Zygmunt Krynicki'], 1)
345
233
# If true, show URL addresses after external links.
346
# man_show_urls = False
349
# -- Options for Texinfo output ----------------------------------------------
234
#man_show_urls = False
237
# -- Options for Texinfo output ------------------------------------------------
351
239
# Grouping the document tree into Texinfo files. List of tuples
352
240
# (source start file, target name, title, author,
353
241
# dir menu entry, description, category)
354
242
texinfo_documents = [
355
('index', 'Plainbox', 'Plainbox Documentation',
356
'Zygmunt Krynicki', 'Plainbox', 'One line description of project.',
243
('index', 'PlainBox', 'PlainBox Documentation',
244
'Zygmunt Krynicki', 'PlainBox', 'One line description of project.',
360
248
# Documents to append as an appendix to all manuals.
361
# texinfo_appendices = []
249
#texinfo_appendices = []
363
251
# If false, no module index is generated.
364
# texinfo_domain_indices = True
252
#texinfo_domain_indices = True
366
254
# How to display URL addresses: 'footnote', 'no', or 'inline'.
367
# texinfo_show_urls = 'footnote'
255
#texinfo_show_urls = 'footnote'