blob: 1fb06da0c035daa988869a6f17420041368d7bb3 [file] [log] [blame]
Harald Welte94e87352021-04-02 13:38:00 +02001# 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#
13import os
14import sys
15sys.path.insert(0, os.path.abspath('..'))
16
17
18# -- Project information -----------------------------------------------------
19
20project = 'pysim'
21copyright = '2021, Sylvain Munaut, Harald Welte, Philipp Maier'
22author = 'Sylvain Munaut, Harald Welte, Philipp Maier'
23
24
25# -- General configuration ---------------------------------------------------
26
27# Add any Sphinx extension module names here, as strings. They can be
28# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
29# ones.
30extensions = [
31 "sphinx.ext.autodoc",
32 "sphinx.ext.autosectionlabel",
33 "sphinx.ext.napoleon"
34]
35
36# Add any paths that contain templates here, relative to this directory.
37templates_path = ['_templates']
38
39# List of patterns, relative to source directory, that match files and
40# directories to ignore when looking for source files.
41# This pattern also affects html_static_path and html_extra_path.
42exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
43
44
45# -- Options for HTML output -------------------------------------------------
46
47# The theme to use for HTML and HTML Help pages. See the documentation for
48# a list of builtin themes.
49#
50html_theme = 'alabaster'
51
52# Add any paths that contain custom static files (such as style sheets) here,
53# relative to this directory. They are copied after the builtin static files,
54# so a file named "default.css" will overwrite the builtin "default.css".
55html_static_path = ['_static']
56
57autoclass_content = 'both'