This repository was archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconf.py
More file actions
56 lines (40 loc) · 1.23 KB
/
conf.py
File metadata and controls
56 lines (40 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Configuration file for the Sphinx documentation builder.
# -- Project information
import os
import sys
sys.path.insert(0, os.path.abspath("../.."))
from flask_utils import __version__ # noqa: E402
project = "Flask-Utils"
copyright = "2024, Jules Lasne"
release = __version__
version = __version__
# -- General configuration
extensions = [
"sphinx.ext.duration",
"sphinx.ext.doctest",
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
# notfound causes a bug with the flask theme, see https://github.com/readthedocs/sphinx-notfound-page/issues/148
# "notfound.extension",
"pallets_sphinx_themes",
]
autodoc_default_options = {
"members": True,
"undoc-members": True,
"private-members": False,
}
# TODO: Make the flask intermapping work
intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"sphinx": ("https://www.sphinx-doc.org/en/master/", None),
"flask": ("https://flask.palletsprojects.com/en/2.0.x/", None),
}
intersphinx_disabled_domains = ["std"]
templates_path = ["_templates"]
# -- Options for HTML output
html_theme = "flask"
# -- Options for EPUB output
epub_show_urls = "footnote"
add_module_names = False