File tree Expand file tree Collapse file tree 1 file changed +26
-15
lines changed Expand file tree Collapse file tree 1 file changed +26
-15
lines changed Original file line number Diff line number Diff line change 14
14
15
15
sys .path .insert (0 , os .path .abspath ("../" ))
16
16
17
+ # manually import package dependencies in an attempt to make autodoc work
18
+ import arviz
19
+ import matplotlib
20
+ import numpy
21
+ import pandas
22
+ import patsy
23
+ import pymc
24
+ import scipy
25
+ import seaborn
26
+ import sklearn
27
+ import xarray
17
28
18
29
# -- Project information -----------------------------------------------------
19
30
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
73
84
"conf_py_path" : "/docs/" , # Path in the checkout to the docs root
74
85
}
75
86
76
- # autodoc_mock_imports
77
- # This avoids autodoc breaking when it can't find packages imported in the code.
78
- # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
79
- autodoc_mock_imports = [
80
- "arviz" ,
81
- "matplotlib" ,
82
- "numpy" ,
83
- "pandas" ,
84
- "patsy" ,
85
- "pymc" ,
86
- "scipy" ,
87
- "seaborn" ,
88
- "sklearn" ,
89
- "xarray" ,
90
- ]
87
+ # # autodoc_mock_imports
88
+ # # This avoids autodoc breaking when it can't find packages imported in the code.
89
+ # # https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_mock_imports
90
+ # autodoc_mock_imports = [
91
+ # "arviz",
92
+ # "matplotlib",
93
+ # "numpy",
94
+ # "pandas",
95
+ # "patsy",
96
+ # "pymc",
97
+ # "scipy",
98
+ # "seaborn",
99
+ # "sklearn",
100
+ # "xarray",
101
+ # ]
You can’t perform that action at this time.
0 commit comments