Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All rst files are rebuilt if code cell has a Python error #219

Open
moorepants opened this issue Feb 18, 2023 · 0 comments
Open

All rst files are rebuilt if code cell has a Python error #219

moorepants opened this issue Feb 18, 2023 · 0 comments

Comments

@moorepants
Copy link

I currently edit my rst files in an editor and run sphinx autobuild to get continuous updates to a rendered HTML version. This works quite nicely and the sphinx cache ensures only the page your are editing is executed. But if you are working in a jupyter-execute cell and your code causes a Python error, then the sphinx build fails and seems to cause the entire cache to reset which then causes all rst files to be rebuilt. Once you have a large set of rst files that take significant execution time each, this breaks the usefulness of autobuild. It would be better if the code cell execution error did not trigger a sphinx cache reset.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants