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

Examples are not rerun when deploying docs #955

Open
ma-sadeghi opened this issue Apr 10, 2024 · 2 comments
Open

Examples are not rerun when deploying docs #955

ma-sadeghi opened this issue Apr 10, 2024 · 2 comments
Labels
doc PR tag for additions to the documentation help wanted

Comments

@ma-sadeghi
Copy link
Member

Add this line to conf.py

nbsphinx_execute = 'always'
@ma-sadeghi ma-sadeghi added help wanted doc PR tag for additions to the documentation labels Apr 10, 2024
@jgostick
Copy link
Member

I am pretty sure that the examples are re-run, so I'm not sure what symptom you are referring to?

@ma-sadeghi
Copy link
Member Author

I just noticed we no longer use nbsphinx, but myst_nb. Anyway, it seems the default behavior is "don't run if cell outputs are not missing" (https://myst-nb.readthedocs.io/en/v0.9.0/use/execute.html#triggering-notebook-execution). I think we need:

jupyter_execute_notebooks = "force"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc PR tag for additions to the documentation help wanted
Projects
None yet
Development

No branches or pull requests

2 participants