-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.py
26 lines (24 loc) · 769 Bytes
/
conf.py
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
master_doc = "README"
extensions = [
"matplotlib.sphinxext.plot_directive",
"sphinx.ext.doctest",
"sphinx.ext.napoleon",
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
]
project = "TEMPLATE_NAME"
napoleon_custom_sections = [("Returns", "params_style")]
plot_formats = [
("png", 144),
]
html_theme = "nature"
# Configure autodoc to avoid excessively long fully-qualified names.
add_module_names = False
autodoc_typehints_format = "short"
intersphinx_mapping = {
"python": ("https://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/", None),
"matplotlib": ("https://matplotlib.org/stable", None),
"torch": ("https://pytorch.org/docs/stable/", None),
}