Debian Codegraph @

doc/conf.py

raw symbols SCIP
1 #
2 # execnet documentation build configuration file, created by
3 # sphinx-quickstart on Wed Sep 30 21:16:59 2009.
4 #
5 # This file is execfile()d with the wd set to its containing dir.
6 #
7 # Note that not all possible configuration values are present in this
8 # autogenerated file.
9 #
10 # All configuration values have a default; values that are commented out
11 # serve to show the default.
12 import os
13 import sys
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.append(os.path.dirname(os.path.dirname(__file__)))
19
20 from execnet._version import version
21
22 release = ".".join(version.split(".")[:2])
23
24 # -- General configuration ----------------------------------------------------
25
26 # Add any Sphinx extension module names here, as strings.
27 # They can be extensions
28 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
29 extensions = [
30 "sphinx.ext.autodoc",
31 "sphinx.ext.doctest",
32 "sphinx.ext.intersphinx",
33 ]
34
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path = ["_templates"]
37
38 # The suffix of source filenames.
39 source_suffix = ".rst"
40
41 # The encoding of source files.
42 # source_encoding = 'utf-8'
43
44 # The master toctree document.
45 master_doc = "index"
46
47 # General information about the project.
48 project = "execnet"
49 copyright = "2012, holger krekel and others"
50
51 # The language for content autogenerated by Sphinx. Refer to documentation
52 # for a list of supported languages.
53 # language = None
54
55 # There are two options for replacing |today|: either, you set today to some
56 # non-false value, then it is used:
57 # today = ''
58 # Else, today_fmt is used as the format for a strftime call.
59 # today_fmt = '%B %d, %Y'
60
61 # List of documents that shouldn't be included in the build.
62 # unused_docs = []
63
64 # List of directories, relative to source directory, that shouldn't be searched
65 # for source files.
66 exclude_trees = ["_build"]
67
68 # The reST default role (used for this markup: `text`) to use for all documents
69 # dfault_role = None
70
71 # If true, '()' will be appended to :func: etc. cross-reference text.
72 # add_function_parentheses = True
73
74 # If true, the current module name will be prepended to all description
75 # unit titles (such as .. function::).
76 add_module_names = True
77
78 linkcheck_timeout = 20
79
80 # If true, sectionauthor and moduleauthor directives will be shown in the
81 # output. They are ignored by default.
82 # show_authors = False
83
84 # The name of the Pygments (syntax highlighting) style to use.
85 pygments_style = "sphinx"
86
87 # A list of ignored prefixes for module index sorting.
88 # modindex_common_prefix = []
89
90 intersphinx_mapping = {
91 "python": ("https://docs.python.org/3", None),
92 }
93
94 nitpicky = True
95 nitpick_ignore = [
96 ("py:class", "execnet.gateway_base.ChannelFileRead"),
97 ("py:class", "execnet.gateway_base.ChannelFileWrite"),
98 ("py:class", "execnet.gateway.Gateway"),
99 ]
100
101 # -- Options for HTML output --------------------------------------------------
102
103 # The theme to use for HTML and HTML Help pages. Major themes that come with
104 # Sphinx are currently 'default' and 'sphinxdoc'.
105 html_theme = "sphinxdoc"
106
107 # html_index = 'index.html'
108 html_sidebars = {"index": ["indexsidebar.html"]}
109 # html_additional_pages = {'index': 'index.html'}
110
111 # Theme options are theme-specific and customize the look and feel of a theme
112 # further. For a list of options available for each theme, see the
113 # documentation.
114 # html_theme_options = {}
115
116 # Add any paths that contain custom themes here, relative to this directory.
117 # html_theme_path = []
118
119 # The name for this set of Sphinx documents. If None, it defaults to
120 # "<project> v<release> documentation".
121 # html_title = None
122
123 # A shorter title for the navigation bar. Default is the same as html_title.
124 # html_short_title = None
125
126 # The name of an image file (relative to this directory) to place at the top
127 # of the sidebar.
128 # html_logo = "codespeak.png"
129
130 # The name of an image file (within the static path) to use as favicon of the
131 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
132 # pixels large.
133 # html_favicon = None
134
135 # Add any paths that contain custom static files (such as style sheets) here,
136 # relative to this directory. They are copied after the builtin static files,
137 # so a file named "default.css" will overwrite the builtin "default.css".
138 html_static_path = ["_static"]
139
140 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
141 # using the given strftime format.
142 # html_last_updated_fmt = '%b %d, %Y'
143
144 # If true, SmartyPants will be used to convert quotes and dashes to
145 # typographically correct entities.
146 # html_use_smartypants = True
147
148 # If false, no module index is generated.
149 html_use_modindex = False
150
151 # If false, no index is generated.
152 # html_use_index = True
153
154 # If true, the index is split into individual pages for each letter.
155 # html_split_index = False
156
157 # If true, links to the reST sources are added to the pages.
158 html_show_sourcelink = False
159
160 # If true, an OpenSearch description file will be output, and all pages will
161 # contain a <link> tag referring to it. The value of this option must be the
162 # base URL from which the finished HTML is served.
163 # html_use_opensearch = ''
164
165 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
166 # html_file_suffix = ''
167
168 # Output file base name for HTML help builder.
169 htmlhelp_basename = "execnetdoc"
170
171
172 # -- Options for LaTeX output -------------------------------------------------
173
174 # The paper size ('letter' or 'a4').
175 # latex_paper_size = 'letter'
176
177 # The font size ('10pt', '11pt' or '12pt').
178 # latex_font_size = '10pt'
179
180 # Grouping the document tree into LaTeX files. List of tuples
181 # (source start file, target name, title, author, documentclass [howto/manual])
182 latex_documents = [
183 (
184 "index",
185 "execnet.tex",
186 "execnet Documentation",
187 "holger krekel and others",
188 "manual",
189 )
190 ]
191
192 # The name of an image file (relative to this directory) to place at the top of
193 # the title page.
194 # latex_logo = None
195
196 # For "manual" documents, if this is true, then toplevel headings are parts,
197 # not chapters.
198 # latex_use_parts = False
199
200 # Additional stuff for the LaTeX preamble.
201 # latex_preamble = ''
202
203 # Documents to append as an appendix to all manuals.
204 # latex_appendices = []
205
206 # If false, no module index is generated.
207 # latex_use_modindex = True