stephenslab / ipynb-website

Simple data science website using Jupyter notebooks.
https://tinyurl.com/yb7mal2m
MIT License
66 stars 29 forks source link

--no-input option #18

Closed maxdevblock closed 3 years ago

maxdevblock commented 3 years ago

In previous version, I edited release.sos to include the --no-input option to jupyter nbconvert, to render html pages without the code.

Is there such a feature in the new version?

Thank you!

gaow commented 3 years ago

In previous version, I edited release.sos to include the --no-input option to jupyter nbconvert

@maxdevblock sorry did you sent in a pull request for this? I don't recall but if this is tested and proven to work then we can definitely add it back to the code.

maxdevblock commented 3 years ago

@gaow Hi. No I didn't pull a req. You can see old release.sos version with --no-input option here https://github.com/maxdevblock/covid-19-website/blob/master/release.sos lines 175 and 197

gaow commented 3 years ago

@maxdevblock thanks for the feedback. I just updated the release script incorporating your changes with option --hide-code default to False. To use it you can add --hide-code to your release command. I have also updated the docker image as the current releases uses docker. You can get the latest via docker pull gaow/jnbinder. Please try it out and close this ticket if it works. Thanks!

maxdevblock commented 3 years ago

@gaow WOW, just tested, perfect. Many thanks to you!

PS: I use your ipynb-website tool since 1 year for epidata.it, really saved my day.