Debian Codegraph @

docs/conf.py

raw
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 import os
10 import pkg_resources
11
12 # -- Project information -----------------------------------------------------
13
14 project = "cxxheaderparser"
15 copyright = "2020-2023, Dustin Spicuzza"
16 author = "Dustin Spicuzza"
17
18 # The full version, including alpha/beta/rc tags
19 release = pkg_resources.get_distribution("cxxheaderparser").version
20
21
22 # -- General configuration ---------------------------------------------------
23
24 # Add any Sphinx extension module names here, as strings. They can be
25 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
26 # ones.
27 extensions = ["sphinx.ext.autodoc", "sphinx_autodoc_typehints", "sphinx_rtd_theme"]
28
29 # Add any paths that contain templates here, relative to this directory.
30 templates_path = ["_templates"]
31
32 # List of patterns, relative to source directory, that match files and
33 # directories to ignore when looking for source files.
34 # This pattern also affects html_static_path and html_extra_path.
35 exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
36
37
38 # -- Options for HTML output -------------------------------------------------
39
40 # The theme to use for HTML and HTML Help pages. See the documentation for
41 # a list of builtin themes.
42
43 html_theme = "sphinx_rtd_theme"
44
45 always_document_param_types = True