In Deploying JupyterHub for Education @lawasser made a nice description of what she’d want out of a “report generation tool” for Jupyter notebooks. I wonder if this is a specific enough and common enough issue to warrant its own thread here, in case others would like to chime in.
From her post, it sounds like there are a few things that you’d want to go from notebook -> HTML report.
- Export to HTML or PDF, doing the following things:
- Hide things in the final report. E.g., metadata in a cell should selectively remove things like:
- The stderr
- Image outputs
- Code blocks
- Strip input/output numbers, or anything that is unique to the “interactive” session vs. just the cell contents and outputs.
- Do some fancier things with some cells (such as adding captions to images).
- Make the output pretty to look at.
What else would be important? Most of those things I think are pretty doable (the one exception being how far down the rabbit hole you’d wanna go creating new features for #4 ). Perhaps we can get a nice design spec on a tool that would be useful! I’m thinking it could be a ‘bundler extension’ which basically just means a new option under “Download as” that’d output a nicely-formatted HTML file