Skip to content

DOC: Include unrendered style notebook in git, execute in build #12521

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

Closed
TomAugspurger opened this issue Mar 3, 2016 · 3 comments
Closed

DOC: Include unrendered style notebook in git, execute in build #12521

TomAugspurger opened this issue Mar 3, 2016 · 3 comments
Labels
Milestone

Comments

@TomAugspurger
Copy link
Contributor

Did this for statsmodels the other week, works pretty well. Something like

jupyter nbconvert --ExecutePreprocessor.timeout=600 --to html --execute style.ipynb

https://nbconvert.readthedocs.org/en/latest/execute_api.html

@TomAugspurger TomAugspurger added Docs Difficulty Novice Code Style Code style, linting, code_checks labels Mar 3, 2016
@TomAugspurger TomAugspurger added this to the 0.18.0 milestone Mar 3, 2016
@jreback
Copy link
Contributor

jreback commented Mar 3, 2016

yep - even better this actually catches errors
say you have a missing import

the only issue is if you have a deliberate exception (u need to put it in a markdown block instead)

@jreback jreback modified the milestones: 0.18.1, 0.18.0 Mar 5, 2016
@TomAugspurger
Copy link
Contributor Author

This will have to wait on nbconvert 4.2, which let's you specify the kernel when executing. I believe it's being released soon.

@jreback jreback modified the milestones: 0.18.2, 0.18.1 Apr 25, 2016
@TomAugspurger TomAugspurger removed the Code Style Code style, linting, code_checks label May 17, 2016
@jorisvandenbossche
Copy link
Member

Closed by #13225

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

3 participants