This PR adds FTD version to the generated Markdown docs and refactors the code. In particular, the following changes were made:
split generator.py code into multiple files;
logic related to fetching docs/version is wrapped into FtdApiClient class;
ExampleDocGenerator changed to StaticDocGenerator: now it handles all static documentation and allows including Jinja statements in all static templates.
This PR adds FTD version to the generated Markdown docs and refactors the code. In particular, the following changes were made:
generator.py
code into multiple files;FtdApiClient
class;ExampleDocGenerator
changed toStaticDocGenerator
: now it handles all static documentation and allows including Jinja statements in all static templates.