A more modern way of handling notebooks as documentation would be to:
- had a pre-commit hook to strip all state-dependent stuff from the notebooks (
nbstripout)
- execute the notebooks as part of the build process (
nbsphinx_execute = 'always')
This might need some optimisation in the notebooks to speed up the process.
A more modern way of handling notebooks as documentation would be to:
nbstripout)nbsphinx_execute = 'always')This might need some optimisation in the notebooks to speed up the process.