FIX: Docs generation
[csit.git] / resources / tools / doc_gen / src / conf.py
1 # -*- coding: utf-8 -*-
2 #
3 # CSIT documentation build configuration file, created by
4 # sphinx-quickstart on Tue Nov  8 10:19:40 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 #
19 import os
20 import sys
21
22 sys.path.insert(0, os.path.abspath(u"."))
23
24 # -- General configuration ------------------------------------------------
25
26 # If your documentation needs a minimal Sphinx version, state it here.
27 #
28 # needs_sphinx = '1.0'
29
30 # Add any Sphinx extension module names here, as strings. They can be
31 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32 # ones.
33 extensions = [
34     u"sphinx.ext.autodoc",
35     u"sphinx.ext.doctest",
36     u"sphinxcontrib_robotdoc"
37 ]
38
39 # Add any paths that contain templates here, relative to this directory.
40 templates_path = [u"_templates"]
41
42 # The suffix(es) of source file names.
43 # You can specify multiple suffix as a list of string:
44 #
45 source_suffix = [u".rst", u".md"]
46
47 # The master toctree document.
48 master_doc = u"index"
49
50 # General information about the project.
51 project = u"FD.io CSIT"
52 copyright = u"2021, FD.io"
53 author = u'FD.io CSIT'
54
55 # The version info for the project you're documenting, acts as replacement for
56 # |version| and |release|, also used in various other places throughout the
57 # built documents.
58 #
59 # The short X.Y version.
60 # version = u'master'
61 # The full version, including alpha/beta/rc tags.
62 # release = u'master'
63
64 # The language for content autogenerated by Sphinx. Refer to documentation
65 # for a list of supported languages.
66 #
67 # This is also used if you do content translation via gettext catalogs.
68 # Usually you set "language" from the command line for these cases.
69 language = u'en'
70
71 # There are two options for replacing |today|: either, you set today to some
72 # non-false value, then it is used:
73 #
74 # today = ''
75 #
76 # Else, today_fmt is used as the format for a strftime call.
77 #
78 # today_fmt = '%B %d, %Y'
79
80 # List of patterns, relative to source directory, that match files and
81 # directories to ignore when looking for source files.
82 # This patterns also effect to html_static_path and html_extra_path
83 exclude_patterns = [u"_build", u"Thumbs.db", u".DS_Store"]
84
85 # The reST default role (used for this markup: `text`) to use for all
86 # documents.
87 #
88 # default_role = None
89
90 # If true, '()' will be appended to :func: etc. cross-reference text.
91 #
92 # add_function_parentheses = True
93
94 # If true, the current module name will be prepended to all description
95 # unit titles (such as .. function::).
96 #
97 # add_module_names = True
98
99 # If true, sectionauthor and moduleauthor directives will be shown in the
100 # output. They are ignored by default.
101 #
102 # show_authors = False
103
104 # The name of the Pygments (syntax highlighting) style to use.
105 pygments_style = u"sphinx"
106
107 # If true, `todo` and `todoList` produce output, else they produce nothing.
108 todo_include_todos = False
109
110
111 # -- Options for HTML output ----------------------------------------------
112
113 # The theme to use for HTML and HTML Help pages.  See the documentation for
114 # a list of builtin themes.
115 #
116 # html_theme =u"alabaster"
117 html_theme = u"sphinx_rtd_theme"
118
119 # Theme options are theme-specific and customize the look and feel of a theme
120 # further.  For a list of options available for each theme, see the
121 # documentation.
122 #
123 html_theme_options = {
124     u'canonical_url': u'',
125     u'analytics_id': u'',
126     u'logo_only': False,
127     u'display_version': True,
128     u'prev_next_buttons_location': u'bottom',
129     u'style_external_links': False,
130     # Toc options
131     u'collapse_navigation': True,
132     u'sticky_navigation': True,
133     u'navigation_depth': 3,
134     u'includehidden': True,
135     u'titles_only': False
136 }
137
138 # Add any paths that contain custom themes here, relative to this directory.
139 html_theme_path = [u'env/lib/python3.8/site-packages/sphinx_rtd_theme']
140
141 # The name for this set of Sphinx documents.
142 # "<project> v<release> documentation" by default.
143 #
144 html_title = u"CSIT Documentation"
145
146 # A shorter title for the navigation bar.  Default is the same as html_title.
147 #
148 html_short_title = u"CSIT"
149
150 # The name of an image file (relative to this directory) to use as a favicon of
151 # the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
152 # pixels large.
153 #
154 # html_favicon = None
155
156 # Add any paths that contain custom static files (such as style sheets) here,
157 # relative to this directory. They are copied after the builtin static files,
158 # so a file named "default.css" will overwrite the builtin "default.css".
159 html_static_path = [u"_static"]
160
161 # Add any extra paths that contain custom files (such as robots.txt or
162 # .htaccess) here, relative to this directory. These files are copied
163 # directly to the root of the documentation.
164 #
165 # html_extra_path = []
166
167 # If not None, a 'Last updated on:' timestamp is inserted at every page
168 # bottom, using the given strftime format.
169 # The empty string is equivalent to '%b %d, %Y'.
170 #
171 # html_last_updated_fmt = None
172
173 # If true, SmartyPants will be used to convert quotes and dashes to
174 # typographically correct entities.
175 #
176 # html_use_smartypants = True
177
178 # Custom sidebar templates, maps document names to template names.
179 #
180 # html_sidebars = {
181 #
182 # }
183
184 # Additional templates that should be rendered to pages, maps page names to
185 # template names.
186 #
187 # html_additional_pages = {}
188
189 # If false, no module index is generated.
190 html_domain_indices = True
191
192 # If false, no index is generated.
193 html_use_index = True
194
195 # If true, the index is split into individual pages for each letter.
196 html_split_index = False
197
198 # If true, links to the reST sources are added to the pages.
199 html_show_sourcelink = True
200
201 # Output file base name for HTML help builder.
202 htmlhelp_basename = u"csitdoc"
203
204 # -- Options for LaTeX output ---------------------------------------------
205
206 latex_elements = {
207      # The paper size ('letterpaper' or 'a4paper').
208      #
209      # 'papersize': 'letterpaper',
210
211      # The font size ('10pt', '11pt' or '12pt').
212      #
213      # 'pointsize': '10pt',
214
215      # Additional stuff for the LaTeX preamble.
216      #
217      # 'preamble': '',
218
219      # Latex figure (float) alignment
220      #
221      # 'figure_align': 'htbp',
222 }
223
224 # Grouping the document tree into LaTeX files. List of tuples
225 # (source start file, target name, title,
226 #  author, documentclass [howto, manual, or own class]).
227 latex_documents = [
228     (master_doc, u"CSIT.tex", u"CSIT Documentation", u"CSIT", u"manual"),
229 ]
230
231 # The name of an image file (relative to this directory) to place at the top of
232 # the title page.
233 #
234 # latex_logo = None
235
236 # For "manual" documents, if this is true, then toplevel headings are parts,
237 # not chapters.
238 #
239 # latex_use_parts = False
240
241 # If true, show page references after internal links.
242 #
243 # latex_show_pagerefs = False
244
245 # If true, show URL addresses after external links.
246 #
247 # latex_show_urls = False
248
249 # Documents to append as an appendix to all manuals.
250 #
251 # latex_appendices = []
252
253 # It false, will not define \strong, \code,     itleref, \crossref ... but only
254 # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
255 # packages.
256 #
257 # latex_keep_old_macro_names = True
258
259 # If false, no module index is generated.
260 #
261 # latex_domain_indices = True
262
263
264 # -- Options for manual page output ---------------------------------------
265
266 # One entry per manual page. List of tuples
267 # (source start file, name, description, authors, manual section).
268 man_pages = [
269     (master_doc, u"CSIT", u"CSIT Documentation", [author], 1)
270 ]
271
272 # If true, show URL addresses after external links.
273 #
274 # man_show_urls = False
275
276
277 # -- Options for Texinfo output -------------------------------------------
278
279 # Grouping the document tree into Texinfo files. List of tuples
280 # (source start file, target name, title, author,
281 #  dir menu entry, description, category)
282 texinfo_documents = [
283     (master_doc, u"CSIT", u"CSIT Documentation",
284      author, u"CSIT", u"One line description of project.",
285      u"Miscellaneous"),
286 ]
287
288 # Documents to append as an appendix to all manuals.
289 #
290 # texinfo_appendices = []
291
292 # If false, no module index is generated.
293 #
294 # texinfo_domain_indices = True
295
296 # How to display URL addresses: 'footnote', 'no', or 'inline'.
297 #
298 # texinfo_show_urls = 'footnote'
299
300 # If true, do not generate a @detailmenu in the "Top" node's menu.
301 #
302 # texinfo_no_detailmenu = False