pawelsikora / mkdocs-with-confluence

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

Use session object to allow reusing auth across requests #14

Closed simonstamm closed 2 years ago

simonstamm commented 2 years 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 2 years ago

Great improvement, will be available in 0.2.7. Thanks!