sphinxcontrib-jupyter
sphinxcontrib-jupyter copied to clipboard
ENH: Implement code execution at the Transform layer
It would be nice to implement code execution at the transform layer of sphinx to have shared execution for the different targets html, coverage, download notebooks and code block level caching.
- [ ] http://docutils.sourceforge.net/docs/ref/transforms.html
Ideas and Notes:
-
perhaps a single RST file could be built using
dask.delayed+joblibfor code block level caching. -
coverage: it isn't immediately obvious how to implement
testsas if they are run in the samelanguage kernelthen the state will be different for cells that follow (inhtmlworkflow). May need to consider two task trees forcoverageandother execution runs?