a b/docs/conf.py
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, '/root/Work/bc-count/bc-count')
16
17
18
# -- Project information -----------------------------------------------------
19
20
project = 'bc-count'
21
copyright = '2022, Author'
22
author = 'Author'
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.
30
extensions = [
31
    'sphinx.ext.autodoc',
32
    'sphinx.ext.viewcode',
33
    'sphinx.ext.todo',
34
]
35
36
# Add any paths that contain templates here, relative to this directory.
37
templates_path = ['_templates']
38
39
# The language for content autogenerated by Sphinx. Refer to documentation
40
# for a list of supported languages.
41
#
42
# This is also used if you do content translation via gettext catalogs.
43
# Usually you set "language" from the command line for these cases.
44
language = 'en'
45
46
# List of patterns, relative to source directory, that match files and
47
# directories to ignore when looking for source files.
48
# This pattern also affects html_static_path and html_extra_path.
49
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
50
51
52
# -- Options for HTML output -------------------------------------------------
53
54
# The theme to use for HTML and HTML Help pages.  See the documentation for
55
# a list of builtin themes.
56
#
57
html_theme = 'alabaster'
58
59
# Add any paths that contain custom static files (such as style sheets) here,
60
# relative to this directory. They are copied after the builtin static files,
61
# so a file named "default.css" will overwrite the builtin "default.css".
62
html_static_path = ['_static']
63
64
65
# -- Extension configuration -------------------------------------------------
66
67
# -- Options for todo extension ----------------------------------------------
68
69
# If true, `todo` and `todoList` produce output, else they produce nothing.
70
todo_include_todos = True