Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ audio_files/
# anything that has cache
*cache*/
*Cache*/

_autosummary/
tutorial_scripts/
sdist/
var/
wheels/
Expand Down
18 changes: 3 additions & 15 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"datasets",
"nltk",
"scikit-learn",
"sklearn",
"statsmodels",
"shap",
"numba",
Expand Down Expand Up @@ -77,7 +78,7 @@
napoleon_use_param = True
napoleon_use_rtype = True

# Autodoc settings
# Enable autodoc to generate API documentation
autodoc_default_options = {
"members": True,
"member-order": "bysource",
Expand All @@ -86,22 +87,9 @@
"exclude-members": "__weakref__",
}

# Autosummary settings
# Enable autosummary to automatically generate module documentation
autosummary_generate = True

# Skip problematic modules during autosummary generation
autosummary_imported_members = False
autosummary_mock_imports = [
"encoding.models",
"encoding.features",
"encoding.assembly",
"encoding.plotting",
"encoding.brain_projection",
"encoding.downsample",
"encoding.utils",
"encoding.trainer",
]

# HTML output options
try:
import sphinx_rtd_theme # noqa: F401
Expand Down