Debian Codegraph @

docs/conf.py

raw symbols SCIP
1 """A sphinx documentation configuration file.
2 """
3
4 # -- Project information ---------------------------------------------------------------
5 # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
6
7 project = "installer"
8
9 copyright = "2020, Pradyun Gedam"
10 author = "Pradyun Gedam"
11
12 # -- General configuration -------------------------------------------------------------
13 # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
14
15 extensions = [
16 "sphinx.ext.autodoc",
17 "sphinx.ext.doctest",
18 "sphinx.ext.intersphinx",
19 "sphinx.ext.todo",
20 "myst_parser",
21 "sphinxarg.ext",
22 ]
23
24 # -- Options for HTML output -----------------------------------------------------------
25 # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
26
27 html_theme = "furo"
28 html_title = project
29
30 # -- Options for Autodoc --------------------------------------------------------------
31 # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#configuration
32
33 autodoc_member_order = "bysource"
34 autodoc_preserve_defaults = True
35
36 # Keep the type hints outside the function signature, moving them to the
37 # descriptions of the relevant function/methods.
38 autodoc_typehints = "description"
39
40 # Don't show the class signature with the class name.
41 autodoc_class_signature = "separated"
42
43 # -- Options for intersphinx ----------------------------------------------------------
44 # https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#configuration
45
46 intersphinx_mapping = {
47 "python": ("https://docs.python.org/3", None),
48 "pypug": ("https://packaging.python.org", None),
49 }
50
51 # -- Options for Markdown files --------------------------------------------------------
52 # https://myst-parser.readthedocs.io/en/latest/sphinx/reference.html
53
54 myst_enable_extensions = [
55 "colon_fence",
56 "deflist",
57 ]
58 myst_heading_anchors = 3