Skip to content

Commit

Permalink
fix recursive doc build
Browse files Browse the repository at this point in the history
Our documentation build kept recursively ingesting the `doc/build`
directory, which made everything slow down with every build.

The reason was a missing comma in exclude_patterns. That caused the
two adjacent strings to be merged and prevented `doc/build` from being
excluded.

Now subsequent builds are instant if nothing has changed.
  • Loading branch information
tukss committed Jun 17, 2024
1 parent e44b276 commit 18728bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
# 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','doc/build' '**.ipynb_checkpoints']
exclude_patterns = ['_build', 'doc/build', '**.ipynb_checkpoints']
nbsphinx_allow_errors = True
nbsphinx_execute = 'never'

Expand Down

0 comments on commit 18728bc

Please sign in to comment.