Skip to content

Commit

Permalink
docs: add auto_examples to excludes
Browse files Browse the repository at this point in the history
Fixes problem where nbsphinx executes the notebook files inside.
  • Loading branch information
nialov committed Jan 9, 2024
1 parent a528abc commit f7b1701
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs_src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,14 @@
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
exclude_patterns = [
"_build",
"Thumbs.db",
".DS_Store",
# auto_examples needs to be added due to nbsphinx executing the ipynb
# files inside otherwise
"auto_examples",
]


# -- Options for HTML output -------------------------------------------------
Expand Down

0 comments on commit f7b1701

Please sign in to comment.