How can I incorporate PyDoc output into Confluence?

I’m using PyDoc to automatically document my Python projects while managing these docs via Jira-integrated Confluence. Is there a reliable method to push the generated documentation into Confluence? I’ve found very little online guidance on a solid integration strategy. Any tips or alternative workflows would be greatly appreciated. Thank you all for your help.

In my experience, successfully incorporating PyDoc output into Confluence required a bit of custom scripting and an understanding of the REST API provided by Confluence. I developed a Python script that generated the HTML documentation using PyDoc and then reformatted it to meet Confluence’s requirements. Authentication and handling updates were challenging at first, but once those aspects were addressed, the entire workflow was streamlined. This method may require some tweaking depending on your specific setup, but it has proven effective and flexible in maintaining up-to-date documentation.