Debian Codegraph @

docs/conf.py

raw symbols SCIP
1 # Configuration file for the Sphinx documentation builder.
2 #
3 # This file only contains a selection of the most common options. For a full
4 # list see the documentation:
5 # https://www.sphinx-doc.org/en/master/usage/configuration.html
6
7 # -- Path setup --------------------------------------------------------------
8
9 # If extensions (or modules to document with autodoc) are in another directory,
10 # add these directories to sys.path here. If the directory is relative to the
11 # documentation root, use os.path.abspath to make it absolute, like shown here.
12 #
13 # import os
14 # import sys
15 # sys.path.insert(0, os.path.abspath('.'))
16
17 import os
18 import subprocess
19
20 on_rtd = os.environ.get("READTHEDOCS", None) == "True"
21 if on_rtd:
22 subprocess.call("doxygen")
23
24 # -- Project information -----------------------------------------------------
25
26 project = "libxeddsa"
27 copyright = "2022, Tim Henkes (Syndace)"
28 author = "Tim Henkes (Syndace)"
29
30
31 # -- General configuration ---------------------------------------------------
32
33 # Add any Sphinx extension module names here, as strings. They can be
34 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
35 # ones.
36 extensions = [
37 "breathe",
38 "sphinx_rtd_theme",
39 "sphinx.ext.viewcode",
40 "sphinx.ext.napoleon"
41 ]
42
43 breathe_projects = { "libxeddsa": "xml" }
44
45 # Add any paths that contain templates here, relative to this directory.
46 templates_path = [ "_templates" ]
47
48 # List of patterns, relative to source directory, that match files and
49 # directories to ignore when looking for source files.
50 # This pattern also affects html_static_path and html_extra_path.
51 exclude_patterns = [ "_build", "Thumbs.db", ".DS_Store" ]
52
53
54 # -- Options for HTML output -------------------------------------------------
55
56 # The theme to use for HTML and HTML Help pages. See the documentation for
57 # a list of builtin themes.
58 #
59 html_theme = "sphinx_rtd_theme"
60
61 # Add any paths that contain custom static files (such as style sheets) here,
62 # relative to this directory. They are copied after the builtin static files,
63 # so a file named "default.css" will overwrite the builtin "default.css".
64 html_static_path = [ "_static" ]
65
66
67 # -- Options for the C++ domain ----------------------------------------------
68
69 cpp_id_attributes = [ "INTERFACE" ]