vericast / nbconflux

nbconflux converts Jupyter Notebooks to Atlassian Confluence pages
BSD 3-Clause "New" or "Revised" License
117 stars 33 forks source link

Make the package less of a monolith #4

Open parente opened 6 years ago

parente commented 6 years ago

Quick note from the Jupyter call today

parente commented 6 years ago

Delayed submit and I crossed the streams a bit with #3. Thanks @mpacer!

danizen commented 4 years ago

The gotcha is that REST API calls to Confluence have to be made at various phases of the process to do image version lookup

This at least is not true in my environment. For issue #30, I simply removed the lookup of the URL and use the attachment filename as in <ri:attachment ri:filename="{{ ... }}"/>. That means that there are parts of the pre-processor that may not be necessary.

Since the other mechanism for doing confluence attachments is needed, I suggest that the template path be also a traitlet, so that people can use different templates for their own confluence.