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

Option to not re-execute the notebook when output does exist? #188

Open
dimkart opened this issue Oct 18, 2021 · 2 comments
Open

Option to not re-execute the notebook when output does exist? #188

dimkart opened this issue Oct 18, 2021 · 2 comments
Labels

Comments

@dimkart
Copy link

dimkart commented Oct 18, 2021

Is there a way to make sphinx use the static output of the notebook (if there is any) instead of re-executing the notebooks every time we build the docs? I use a github action that re-builds docs with every push in a clean environment, and some of the notebooks have long execution times. Thanks!

@akhmerov
Copy link
Member

I believe sphinx cache should work (e.g. rebuilding locally doesn't take time if a file was unchanged). I don't have experience with gh actions cache, though. Setting that one up may take some work.

@dimkart
Copy link
Author

dimkart commented Oct 19, 2021

Ok, thank you.

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

No branches or pull requests

2 participants