Enter your Confluence username and password when prompted.
Visit the page to see your updates.
If you receive an error, see the project issues for known limitations on what
you can post.
Run nbconflux -h at the command line for additional options and help.
usage: nbconflux [-h] [--exclude-toc] [--exclude-ipynb] [--exclude-style]
[--include-mathjax]
notebook url
Converts Jupyter Notebooks to Atlassian Confluence pages using nbconvert
positional arguments:
notebook Path to local notebook (ipynb)
url URL of Confluence page to update
optional arguments:
-h, --help show this help message and exit
--exclude-toc Do not generate a table of contents
--exclude-ipynb Do not attach the notebook to the page
--exclude-style Do not include the Jupyter base stylesheet
--include-mathjax Enable MathJax on the page
--extra-labels EXTRA_LABELS [EXTRA_LABELS ...]
Additional labels to add to the page
Collects credentials from the following locations:
1. CONFLUENCE_USERNAME and CONFLUENCE_PASSWORD environment variables
2. ~/.nbconflux file in the format username:password
3. User prompts
Contributing
We welcome issues and pull requests that help improve the variety of notebook
content and Confluence installations nbconflux supports, its usability for
humans, and its reusability within other tools.
We recommend creating a Python development environment using conda or
virtualenv, running make dev-env to install the runtime and development
requirements, and running make test to execute the unit test suite on your
local machine.
请发表评论