To upload a jupyter notebook from JupyterHub to confluence, please proceed as follows:
Create a new page in confluence and remember the URL
Open a terminal session within JupyterHub and execute the following command:
nbconflux <notebook> <url> --exclude-toc --exclude-style --extra-labels jupyterhub
Parameters:
--exclude-toc
: If you desire a table of contents, feel free to omit this parameter--exclude-style
: Disables usage of html and css macros. Stylesheet is already loaded in confluence.--extra-labels
: With this parameter you can add labels to your confluence page. Labels simplify searching for knowledge base entries. The labeljupyterhub
must always be included for articles to be found in the knowledge base.