Debian Codegraph @

doc/sphinx/conf.py

raw symbols SCIP
1 # -*- coding: utf-8 -*-
2 #
3 # clustershell documentation build configuration file, created by
4 # sphinx-quickstart on Mon Jul 13 20:46:35 2015.
5 #
6 # This file is execfile()d with the current directory set to its containing dir.
7 #
8 # Note that not all possible configuration values are present in this
9 # autogenerated file.
10 #
11 # All configuration values have a default; values that are commented out
12 # serve to show the default.
13
14 import sys, os
15
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.insert(0, os.path.abspath('../../lib'))
20
21 # -- General configuration -----------------------------------------------------
22
23 # If your documentation needs a minimal Sphinx version, state it here.
24 #needs_sphinx = '1.0'
25
26 # Add any Sphinx extension module names here, as strings. They can be extensions
27 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode', 'sphinx_rtd_theme',
29 'sphinxcontrib.asciinema']
30
31 # Add any paths that contain templates here, relative to this directory.
32 templates_path = ['_templates']
33
34 # The suffix of source filenames.
35 source_suffix = '.rst'
36
37 # The encoding of source files.
38 source_encoding = 'utf-8-sig'
39
40 # The master toctree document.
41 master_doc = 'index'
42
43 # General information about the project.
44 project = u'clustershell'
45 copyright = u'2026, Stephane Thiell'
46
47 # The version info for the project you're documenting, acts as replacement for
48 # |version| and |release|, also used in various other places throughout the
49 # built documents.
50 #
51 # The short X.Y version.
52 version = '1.10.1'
53 # The full version, including alpha/beta/rc tags.
54 release = '1.10.1'
55
56 # The language for content autogenerated by Sphinx. Refer to documentation
57 # for a list of supported languages.
58 #language = None
59
60 # There are two options for replacing |today|: either, you set today to some
61 # non-false value, then it is used:
62 #today = ''
63 # Else, today_fmt is used as the format for a strftime call.
64 #today_fmt = '%B %d, %Y'
65
66 # List of patterns, relative to source directory, that match files and
67 # directories to ignore when looking for source files.
68 exclude_patterns = ['_build']
69
70 # The reST default role (used for this markup: `text`) to use for all documents.
71 #default_role = None
72
73 # If true, '()' will be appended to :func: etc. cross-reference text.
74 #add_function_parentheses = True
75
76 # If true, the current module name will be prepended to all description
77 # unit titles (such as .. function::).
78 #add_module_names = True
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
91 # -- Options for HTML output ---------------------------------------------------
92
93 # The theme to use for HTML and HTML Help pages. See the documentation for
94 # a list of builtin themes.
95 #html_theme = 'default'
96 html_theme = 'sphinx_rtd_theme'
97
98 # Theme options are theme-specific and customize the look and feel of a theme
99 # further. For a list of options available for each theme, see the
100 # documentation.
101 #html_theme_options = {}
102
103 # Add any paths that contain custom themes here, relative to this directory.
104 #html_theme_path = []
105
106 # The name for this set of Sphinx documents. If None, it defaults to
107 # "<project> v<release> documentation".
108 #html_title = None
109
110 # A shorter title for the navigation bar. Default is the same as html_title.
111 #html_short_title = None
112
113 # The name of an image file (relative to this directory) to place at the top
114 # of the sidebar.
115 html_logo = '_static/clustershell-nautilus-logo200.png'
116
117 # The name of an image file (within the static path) to use as favicon of the
118 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
119 # pixels large.
120 #html_favicon = None
121
122 # Add any paths that contain custom static files (such as style sheets) here,
123 # relative to this directory. They are copied after the builtin static files,
124 # so a file named "default.css" will overwrite the builtin "default.css".
125 html_static_path = ['_static']
126
127 def setup(app):
128 if 'READTHEDOCS' in os.environ:
129 # RTD does not line wrap CSV tables, so we override this behavior.
130 app.add_css_file("theme_overrides.css")
131
132 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
133 # using the given strftime format.
134 #html_last_updated_fmt = '%b %d, %Y'
135
136 # If true, SmartyPants will be used to convert quotes and dashes to
137 # typographically correct entities.
138 # Better to disable this to prevent alteration of command-line arguments
139 smartquotes = False
140
141 # Custom sidebar templates, maps document names to template names.
142 #html_sidebars = {}
143
144 # Additional templates that should be rendered to pages, maps page names to
145 # template names.
146 #html_additional_pages = {}
147
148 # If false, no module index is generated.
149 #html_domain_indices = True
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 = True
159
160 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
161 #html_show_sphinx = True
162
163 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
164 #html_show_copyright = True
165
166 # If true, an OpenSearch description file will be output, and all pages will
167 # contain a <link> tag referring to it. The value of this option must be the
168 # base URL from which the finished HTML is served.
169 #html_use_opensearch = ''
170
171 # This is the file name suffix for HTML files (e.g. ".xhtml").
172 #html_file_suffix = None
173
174 # Output file base name for HTML help builder.
175 htmlhelp_basename = 'clustershelldoc'
176
177
178 # -- Options for LaTeX output --------------------------------------------------
179
180 latex_elements = {
181 # The paper size ('letterpaper' or 'a4paper').
182 #'papersize': 'letterpaper',
183
184 # The font size ('10pt', '11pt' or '12pt').
185 #'pointsize': '10pt',
186
187 # Additional stuff for the LaTeX preamble.
188 #'preamble': '',
189 }
190
191 # Grouping the document tree into LaTeX files. List of tuples
192 # (source start file, target name, title, author, documentclass [howto/manual]).
193 latex_documents = [
194 ('index', 'clustershell.tex', u'ClusterShell Documentation',
195 u'Stephane Thiell', 'manual'),
196 ]
197
198 # The name of an image file (relative to this directory) to place at the top of
199 # the title page.
200 #latex_logo = None
201
202 # For "manual" documents, if this is true, then toplevel headings are parts,
203 # not chapters.
204 #latex_use_parts = False
205
206 # If true, show page references after internal links.
207 #latex_show_pagerefs = False
208
209 # If true, show URL addresses after external links.
210 #latex_show_urls = False
211
212 # Documents to append as an appendix to all manuals.
213 #latex_appendices = []
214
215 # If false, no module index is generated.
216 #latex_domain_indices = True
217
218
219 # -- Options for manual page output --------------------------------------------
220
221 # One entry per manual page. List of tuples
222 # (source start file, name, description, authors, manual section).
223 man_pages = [
224 ('index', 'clustershell', u'ClusterShell Documentation',
225 [u'Stephane Thiell'], 1)
226 ]
227
228 # If true, show URL addresses after external links.
229 #man_show_urls = False
230
231
232 # -- Options for Texinfo output ------------------------------------------------
233
234 # Grouping the document tree into Texinfo files. List of tuples
235 # (source start file, target name, title, author,
236 # dir menu entry, description, category)
237 texinfo_documents = [
238 ('index', 'clustershell', u'ClusterShell Documentation',
239 u'Stephane Thiell', 'clustershell',
240 'Manage node sets, node groups and execute commands on cluster',
241 'Miscellaneous'),
242 ]
243
244 # Documents to append as an appendix to all manuals.
245 #texinfo_appendices = []
246
247 # If false, no module index is generated.
248 #texinfo_domain_indices = True
249
250 # How to display URL addresses: 'footnote', 'no', or 'inline'.
251 #texinfo_show_urls = 'footnote'