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

Enable running doctests with page build #3

Open
matthew-brett opened this issue Jul 28, 2017 · 0 comments
Open

Enable running doctests with page build #3

matthew-brett opened this issue Jul 28, 2017 · 0 comments

Comments

@matthew-brett
Copy link
Owner

It is inefficient that a careful author has to first run the doctests on the project:

make doctest

then run the page build

make html

where all code has to be run twice, once for the doctests and once for the page build. Consider:

  • having the doctests build the relevant outputs so that the page build does not have to rerun the nbplot etc code - see Proper caching of built nbplots #2 .
  • having the doctests run as part of the page build, perhaps as a sphinx configuration option.

@stefanv - we discussed this a while ago.

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

No branches or pull requests

1 participant