pawelsikora / mkdocs-with-confluence

MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API
MIT License
67 stars 33 forks source link

Use session object to allow reusing auth across requests #14

Closed simonstamm closed 1 year ago

simonstamm commented 1 year ago

I added a session object to persist the login for the API calls as described in Advanced Usage. Our Confluence server unfortunately needs 5 seconds for a login so it reduces the runtime a lot for us. It will login just once and then reuse the session for all the other calls.

pawelsikora commented 1 year ago

Great improvement, will be available in 0.2.7. Thanks!