@@ -119,7 +119,8 @@ def get_years(start_year=2021):
119119
120120autodoc_member_order = "bysource"
121121autodoc_mock_imports = [
122- "torch" , "nlb_tools" , "tqdm" , "h5py" , "pandas" , "matplotlib" , "plotly"
122+ "torch" , "nlb_tools" , "tqdm" , "h5py" , "pandas" , "matplotlib" , "plotly" ,
123+ "cvxpy" , "captum"
123124]
124125# autodoc_typehints = "none"
125126
@@ -130,9 +131,18 @@ def get_years(start_year=2021):
130131# directories to ignore when looking for source files.
131132# This pattern also affects html_static_path and html_extra_path.
132133exclude_patterns = [
133- "**/todo" , "**/src" , "cebra-figures/figures.rst" , "cebra-figures/*.rst" ,
134- "*/cebra-figures/*.rst" , "*/demo_notebooks/README.rst" ,
135- "demo_notebooks/README.rst"
134+ "**/todo" ,
135+ "**/src" ,
136+ "cebra-figures/figures.rst" ,
137+ "cebra-figures/*.rst" ,
138+ "*/cebra-figures/*.rst" ,
139+ "*/demo_notebooks/README.rst" ,
140+ "demo_notebooks/README.rst" ,
141+ # TODO(stes): Remove this from the assets repo, then remove here
142+ "_static/figures_usage.ipynb" ,
143+ "*/_static/figures_usage.ipynb" ,
144+ "assets/**/*.ipynb" ,
145+ "*/assets/**/*.ipynb"
136146]
137147
138148# -- Options for HTML output -------------------------------------------------
0 commit comments