Skip to content

Commit d511656

Browse files
committed
added moc imports for non ts venv compatibility with sphinx
1 parent 55500ca commit d511656

1 file changed

Lines changed: 19 additions & 11 deletions

File tree

docs/source/conf.py

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,24 +63,32 @@
6363

6464
# General TLS verification setting for Sphinx
6565
# This helps bypass SSL issues in proxied environments for any web request Sphinx makes.
66-
tls_verify = False
66+
# Pass certificate: export REQUESTS_CA_BUNDLE=/etc/ssl/certs/
67+
tls_verify = True
6768

6869

6970
# -- Mock Imports ------------------------------------------------------------
7071
# This is a list of modules to be mocked by autodoc. This is useful when
7172
# some external dependencies are not met at build time and break the
7273
# documentation building process.
7374
autodoc_mock_imports = [
74-
"aeon",
75-
"tensorflow",
76-
"keras",
77-
"scikeras",
78-
"tsfresh",
79-
"tensorflow_probability",
80-
"keras_self_attention",
81-
"pmdarima",
82-
"prophet",
83-
"gluonts",
75+
"aeon", # For time series classifiers
76+
"catboost", # ML library
77+
"gluonts", # Time series library
78+
"h2o", # ML library
79+
"keras", # Deep learning framework
80+
"keras_self_attention", # Keras extension
81+
"lightgbm", # ML library
82+
"numba", # A key dependency for aeon
83+
"pmdarima", # For ARIMA models
84+
"prophet", # Time series library
85+
"scikeras", # Scikit-learn wrapper for Keras
86+
"sktime", # In case of legacy time series imports
87+
"tensorflow", # Deep learning framework
88+
"tensorflow_probability", # TF extension
89+
"torch", # Deep learning framework
90+
"tsfresh", # Time series feature extraction
91+
"xgboost", # ML library
8492
]
8593

8694
# -- Options for HTML output -------------------------------------------------

0 commit comments

Comments
 (0)