source: trunk/docs/conf.py

Last change on this file was 1cfe843d, checked in by Alexandre Detiste <alexandre.detiste@…>, at 2024-02-22T23:40:25Z

more python2 removal

  • Property mode set to 100644
File size: 9.0 KB
Line 
1# -*- coding: utf-8 -*-
2#
3# Tahoe-LAFS documentation build configuration file, created by
4# sphinx-quickstart on Sat Mar 26 11:20:25 2016.
5#
6# This file is execfile()d with the current directory set to its
7# containing dir.
8#
9# Note that not all possible configuration values are present in this
10# autogenerated file.
11#
12# All configuration values have a default; values that are commented out
13# serve to show the default.
14
15# If extensions (or modules to document with autodoc) are in another directory,
16# add these directories to sys.path here. If the directory is relative to the
17# documentation root, use os.path.abspath to make it absolute, like shown here.
18#sys.path.insert(0, os.path.abspath('.'))
19
20# -- General configuration ------------------------------------------------
21
22# If your documentation needs a minimal Sphinx version, state it here.
23#needs_sphinx = '1.0'
24
25# Add any Sphinx extension module names here, as strings. They can be
26# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
27# ones.
28extensions = ['recommonmark', 'sphinx_rtd_theme']
29
30# Add any paths that contain templates here, relative to this directory.
31templates_path = ['_templates']
32
33# The suffix(es) of source filenames.
34# You can specify multiple suffix as a list of string:
35# source_suffix = ['.rst', '.md']
36source_suffix = ['.rst', '.md']
37
38# The encoding of source files.
39#source_encoding = 'utf-8-sig'
40
41# The master toctree document.
42master_doc = 'index'
43
44# General information about the project.
45project = u'Tahoe-LAFS'
46copyright = u'2016, The Tahoe-LAFS Developers'
47author = u'The Tahoe-LAFS Developers'
48
49# The version info for the project you're documenting, acts as replacement for
50# |version| and |release|, also used in various other places throughout the
51# built documents.
52#
53# The short X.Y version.
54version = u'1.x'
55# The full version, including alpha/beta/rc tags.
56release = u'1.x'
57
58# The language for content autogenerated by Sphinx. Refer to documentation
59# for a list of supported languages.
60#
61# This is also used if you do content translation via gettext catalogs.
62# Usually you set "language" from the command line for these cases.
63language = "en"
64
65# There are two options for replacing |today|: either, you set today to some
66# non-false value, then it is used:
67#today = ''
68# Else, today_fmt is used as the format for a strftime call.
69#today_fmt = '%B %d, %Y'
70
71# List of patterns, relative to source directory, that match files and
72# directories to ignore when looking for source files.
73exclude_patterns = ['_build']
74
75# The reST default role (used for this markup: `text`) to use for all
76# documents.
77#default_role = None
78
79# If true, '()' will be appended to :func: etc. cross-reference text.
80#add_function_parentheses = True
81
82# If true, the current module name will be prepended to all description
83# unit titles (such as .. function::).
84#add_module_names = True
85
86# If true, sectionauthor and moduleauthor directives will be shown in the
87# output. They are ignored by default.
88#show_authors = False
89
90# The name of the Pygments (syntax highlighting) style to use.
91pygments_style = 'sphinx'
92
93# A list of ignored prefixes for module index sorting.
94#modindex_common_prefix = []
95
96# If true, keep warnings as "system message" paragraphs in the built documents.
97#keep_warnings = False
98
99# If true, `todo` and `todoList` produce output, else they produce nothing.
100todo_include_todos = False
101
102
103# -- Options for HTML output ----------------------------------------------
104
105# The theme to use for HTML and HTML Help pages.  See the documentation for
106# a list of builtin themes.
107html_theme = 'sphinx_rtd_theme'
108
109# Theme options are theme-specific and customize the look and feel of a theme
110# further.  For a list of options available for each theme, see the
111# documentation.
112#html_theme_options = {}
113
114# Add any paths that contain custom themes here, relative to this directory.
115#html_theme_path = []
116
117# The name for this set of Sphinx documents.  If None, it defaults to
118# "<project> v<release> documentation".
119#html_title = None
120
121# A shorter title for the navigation bar.  Default is the same as html_title.
122#html_short_title = None
123
124# The name of an image file (relative to this directory) to place at the top
125# of the sidebar.
126#html_logo = None
127
128# The name of an image file (relative to this directory) to use as a favicon of
129# the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
130# pixels large.
131#html_favicon = None
132
133# Add any paths that contain custom static files (such as style sheets) here,
134# relative to this directory. They are copied after the builtin static files,
135# so a file named "default.css" will overwrite the builtin "default.css".
136html_static_path = ['_static']
137
138# Add any extra paths that contain custom files (such as robots.txt or
139# .htaccess) here, relative to this directory. These files are copied
140# directly to the root of the documentation.
141#html_extra_path = []
142
143# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
144# using the given strftime format.
145#html_last_updated_fmt = '%b %d, %Y'
146
147# If true, SmartyPants will be used to convert quotes and dashes to
148# typographically correct entities.
149#html_use_smartypants = True
150
151# Custom sidebar templates, maps document names to template names.
152#html_sidebars = {}
153
154# Additional templates that should be rendered to pages, maps page names to
155# template names.
156#html_additional_pages = {}
157
158# If false, no module index is generated.
159#html_domain_indices = True
160
161# If false, no index is generated.
162#html_use_index = True
163
164# If true, the index is split into individual pages for each letter.
165#html_split_index = False
166
167# If true, links to the reST sources are added to the pages.
168#html_show_sourcelink = True
169
170# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
171#html_show_sphinx = True
172
173# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
174#html_show_copyright = True
175
176# If true, an OpenSearch description file will be output, and all pages will
177# contain a <link> tag referring to it.  The value of this option must be the
178# base URL from which the finished HTML is served.
179#html_use_opensearch = ''
180
181# This is the file name suffix for HTML files (e.g. ".xhtml").
182#html_file_suffix = None
183
184# Language to be used for generating the HTML full-text search index.
185# Sphinx supports the following languages:
186#   'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'
187#   'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'
188#html_search_language = 'en'
189
190# A dictionary with options for the search language support, empty by default.
191# Now only 'ja' uses this config value
192#html_search_options = {'type': 'default'}
193
194# The name of a javascript file (relative to the configuration directory) that
195# implements a search results scorer. If empty, the default will be used.
196#html_search_scorer = 'scorer.js'
197
198# Output file base name for HTML help builder.
199htmlhelp_basename = 'Tahoe-LAFSdoc'
200
201# -- Options for LaTeX output ---------------------------------------------
202
203latex_elements = {
204# The paper size ('letterpaper' or 'a4paper').
205#'papersize': 'letterpaper',
206
207# The font size ('10pt', '11pt' or '12pt').
208#'pointsize': '10pt',
209
210# Additional stuff for the LaTeX preamble.
211#'preamble': '',
212
213# Latex figure (float) alignment
214#'figure_align': 'htbp',
215}
216
217# Grouping the document tree into LaTeX files. List of tuples
218# (source start file, target name, title,
219#  author, documentclass [howto, manual, or own class]).
220latex_documents = [
221    (master_doc, 'Tahoe-LAFS.tex', u'Tahoe-LAFS Documentation',
222     u'The Tahoe-LAFS Developers', 'manual'),
223]
224
225# The name of an image file (relative to this directory) to place at the top of
226# the title page.
227#latex_logo = None
228
229# For "manual" documents, if this is true, then toplevel headings are parts,
230# not chapters.
231#latex_use_parts = False
232
233# If true, show page references after internal links.
234#latex_show_pagerefs = False
235
236# If true, show URL addresses after external links.
237#latex_show_urls = False
238
239# Documents to append as an appendix to all manuals.
240#latex_appendices = []
241
242# If false, no module index is generated.
243#latex_domain_indices = True
244
245
246# -- Options for manual page output ---------------------------------------
247
248# One entry per manual page. List of tuples
249# (source start file, name, description, authors, manual section).
250man_pages = [
251    (master_doc, 'tahoe-lafs', u'Tahoe-LAFS Documentation',
252     [author], 1)
253]
254
255# If true, show URL addresses after external links.
256#man_show_urls = False
257
258
259# -- Options for Texinfo output -------------------------------------------
260
261# Grouping the document tree into Texinfo files. List of tuples
262# (source start file, target name, title, author,
263#  dir menu entry, description, category)
264texinfo_documents = [
265    (master_doc, 'Tahoe-LAFS', u'Tahoe-LAFS Documentation',
266     author, 'Tahoe-LAFS', 'One line description of project.',
267     'Miscellaneous'),
268]
269
270# Documents to append as an appendix to all manuals.
271#texinfo_appendices = []
272
273# If false, no module index is generated.
274#texinfo_domain_indices = True
275
276# How to display URL addresses: 'footnote', 'no', or 'inline'.
277#texinfo_show_urls = 'footnote'
278
279# If true, do not generate a @detailmenu in the "Top" node's menu.
280#texinfo_no_detailmenu = False
Note: See TracBrowser for help on using the repository browser.