Debian Codegraph @

doc/conf.py

raw
1 #!/usr/bin/env python3
2 #
3 # asammdf documentation build configuration file, created by
4 # sphinx-quickstart on Wed Jul 12 06:05:15 2017.
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
20 # BASE_DIR = os.path.abspath("..")
21 # sys.path.insert(0, BASE_DIR)
22
23 from asammdf.version import __version__ as asam_version
24
25 print("version", asam_version)
26
27 html_theme = "pydata_sphinx_theme"
28 html_theme = "bizstyle"
29
30 # html_theme = "sphinx_rtd_theme"
31
32
33 # -- General configuration ------------------------------------------------
34
35 # If your documentation needs a minimal Sphinx version, state it here.
36 #
37 # needs_sphinx = '1.0'
38
39 # Add any Sphinx extension module names here, as strings. They can be
40 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
41 # ones.
42 extensions = [
43 "sphinx.ext.autodoc",
44 "sphinx.ext.autosummary",
45 "sphinx.ext.imgmath",
46 "sphinx.ext.githubpages",
47 "sphinx.ext.viewcode",
48 "matplotlib.sphinxext.plot_directive",
49 "sphinxarg.ext",
50 "numpydoc",
51 ]
52
53 # silence the Sphinx warnings about
54 # "WARNING: toctree contains reference to nonexisting document"
55 # http://stackoverflow.com/questions/12206334/sphinx-autosummary-toctree-contains-reference-to-nonexisting-document-warnings
56 numpydoc_show_class_members = False
57 # numpydoc_class_members_toctree = False
58
59 # Add any paths that contain templates here, relative to this directory.
60 templates_path = ["_templates"]
61
62 # The suffix(es) of source filenames.
63 # You can specify multiple suffix as a list of string:
64 #
65 # source_suffix = ['.rst', '.md']
66 source_suffix = ".rst"
67
68 # The master toctree document.
69 master_doc = "index"
70
71 # General information about the project.
72 project = "asammdf"
73 copyright = "2018-2025, Daniel Hrisca"
74 author = "Daniel Hrisca"
75
76 # The version info for the project you're documenting, acts as replacement for
77 # |version| and |release|, also used in various other places throughout the
78 # built documents.
79 #
80 # The short X.Y version.
81 version = asam_version
82 # The full version, including alpha/beta/rc tags.
83 release = asam_version
84
85 # The language for content autogenerated by Sphinx. Refer to documentation
86 # for a list of supported languages.
87 #
88 # This is also used if you do content translation via gettext catalogs.
89 # Usually you set "language" from the command line for these cases.
90 language = "en"
91
92 # List of patterns, relative to source directory, that match files and
93 # directories to ignore when looking for source files.
94 # This patterns also effect to html_static_path and html_extra_path
95 exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
96
97 # The name of the Pygments (syntax highlighting) style to use.
98 pygments_style = "sphinx"
99
100 # If true, `todo` and `todoList` produce output, else they produce nothing.
101 todo_include_todos = False
102
103
104 # -- Options for HTML output ----------------------------------------------
105
106 # The theme to use for HTML and HTML Help pages. See the documentation for
107 # a list of builtin themes.
108 #
109 # html_theme = 'classic'
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 #
115 # html_theme_options = {'stickysidebar': 'true'}
116
117 # Add any paths that contain custom static files (such as style sheets) here,
118 # relative to this directory. They are copied after the builtin static files,
119 # so a file named "default.css" will overwrite the builtin "default.css".
120 # html_static_path = ['_static']
121 html_logo = "../asammdf.png"
122
123
124 # -- Options for HTMLHelp output ------------------------------------------
125
126 # Output file base name for HTML help builder.
127 # htmlhelp_basename = 'asammdfdoc'
128
129
130 # -- Options for LaTeX output ---------------------------------------------
131
132 # latex_elements = {
133 # # The paper size ('letterpaper' or 'a4paper').
134 # #
135 # # 'papersize': 'letterpaper',
136 # # The font size ('10pt', '11pt' or '12pt').
137 # #
138 # # 'pointsize': '10pt',
139 # # Additional stuff for the LaTeX preamble.
140 # #
141 # # 'preamble': '',
142 # # Latex figure (float) alignment
143 # #
144 # # 'figure_align': 'htbp',
145 # }
146
147 # Grouping the document tree into LaTeX files. List of tuples
148 # (source start file, target name, title,
149 # author, documentclass [howto, manual, or own class]).
150 latex_documents = [(master_doc, "asammdf.tex", "asammdf Documentation", "Daniel Hrisca", "manual")]
151
152
153 # -- Options for manual page output ---------------------------------------
154
155 # One entry per manual page. List of tuples
156 # (source start file, name, description, authors, manual section).
157 man_pages = [(master_doc, "asammdf", "asammdf Documentation", [author], 1)]
158
159
160 # -- Options for Texinfo output -------------------------------------------
161
162 # Grouping the document tree into Texinfo files. List of tuples
163 # (source start file, target name, title, author,
164 # dir menu entry, description, category)
165 texinfo_documents = [
166 (
167 master_doc,
168 "asammdf",
169 "asammdf Documentation",
170 author,
171 "asammdf",
172 "One line description of project.",
173 "Miscellaneous",
174 )
175 ]
176
177
178 # Example configuration for intersphinx: refer to the Python standard library.
179 intersphinx_mapping = {"https://docs.python.org/": None}