tomtom-international / asciidoxy

AsciiDoxy generates API documentation from Doxygen XML output to AsciiDoc.
Apache License 2.0
31 stars 10 forks source link

Configurable python path per package #77

Open silvester747 opened 1 year ago

silvester747 commented 1 year ago

Support configuring a path containing python scripts to be included in the documentation. The path will be added to the python path in the documents before rendering.

Allow specifying a python path per package and on the command-line

silvester747 commented 1 year ago

The imports argument in the constructor of Template can be used to add arbitrary python code at the start of the generated template code. Due to the use of caching, we need to also set this in the TemplateLookup instances. As we only have a single instance of TemplateLookup for documents, start with always inserting the python path for all packages. If the need arises, we can always improve.