-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconf.py
More file actions
35 lines (31 loc) · 773 Bytes
/
conf.py
File metadata and controls
35 lines (31 loc) · 773 Bytes
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
import os
import sys
# 1 – Project root
sys.path.insert(0, os.path.abspath('..'))
# 2 – Extensions
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.napoleon',
'sphinx_autodoc_typehints',
]
# 3 – Theme
html_theme = 'sphinx_rtd_theme'
# 4 – default opions
autodoc_default_options = {
'members': True, # incluye métodos y atributos
'undoc-members': True, # muestra miembros sin docstring (para que veas todo)
'show-inheritance': True,
'inherited-members': True,
}
# simulate importations
autodoc_mock_imports = [
"scipy",
"plotly",
"kaleido",
"matplotlib",
"IPython",
"pytest",
"graphviz",
# numpy must be installed to use autodoc
# pandas must be installed to use autodoc
]