Hi all,
I wanted to make you aware of a utility we recently open sourced called nbconflux, a tool for publishing Jupyter Notebooks as Atlassian Confluence pages based on nbconvert.
nbconflux is useful when:
* You use Jupyter notebooks to author computational narratives
* Your organization uses Confluence to store institutional knowledge
* You want an easy way to publish your work in that knowledge base
It's compatible with Confluence Cloud and Confluence Server, and does the following:
* Converts most cell inputs and outputs to valid Confluence storage format
* Attaches image outputs (e.g., matplotlib PNGs) to a page, shows them inline, and maintains the page-image association in the version history
* Attaches the source notebook to a page, links to it from the page footer, and maintains the page-notebook association in the version history
* Supports sweep-select Confluence comments over most input and output content
* Excludes input, output, or entire cells based on notebook cell tags noinput, nooutput, or nocell
* Labels pages with nbconflux to identify content that originated as notebooks
* Inserts a table of contents macro at the top of the page based on notebook headings
* Applies the NBViewer stylesheet to pages to blend Confluence styling with Jupyter notebook styling (requires the CSS macro)
* Enables MathJax rendering (requires the HTML macro)
* Supports raw-cell passthrough of Confluence storage format markup (e.g., to include Confluence macros)
Cheers,
Pete