Open NickleDave opened 2 years ago
Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:
Maybe *
is interpreted by the terminal. As echo ~/*
would list everything in your home.
In your case, sphinx-autobuild --ignore doc/_build/jupyter_execute/*.ipynb doc doc/_build/html
could become sphinx-autobuild --ignore doc/_build/jupyter_execute/file1.ipynb doc/_build/jupyter_execute/file2.ipynb doc doc/_build/html
.
As a result it would change the positional arguments:
positional arguments:
sourcedir source directory
outdir output directory for built documentation
filenames specific files to rebuild on each run (default: None)
And doc/_build/html
is used as filenames
.
To avoid that, you can wrap it in '
so that the terminal won't interpret it: sphinx-autobuild --ignore 'doc/_build/jupyter_execute/*.ipynb' doc doc/_build/html
.
Describe the bug
context Hi, thanks for developing this very useful tool.
I'm having a bit of an issue where I've added MyST-NB to a project and this causes an infinite build loop, because notebooks are detected as a change, e.g.:
expectation
To try and fix this, I use the
--ignore
option, like so:bug But instead I now get:
My interpretation of this error is that somehow the glob I'm writing for
--ignore
is causingsphinx-autobuild
to not see thedoc/_build/html
folder? It definitely still exists.Please let me know if there's some mistake I'm making here
Reproduce the bug
Not sure I can write a MRE for this one.
List your environment