Make the argument to dump-swagger.py be the name of the output file rather than the output dir, and give it a sensible default. Also, use the absolute path to the output file, so that the output path is relative to the user's cwd rather than the templating dir. |
||
---|---|---|
.. | ||
continuserv | ||
css | ||
speculator | ||
add-matrix-org-stylings.sh | ||
dump-swagger.py | ||
gendoc.py | ||
README |
Requirements: - docutils (for converting RST to HTML) - Jinja2 (for templating) To generate the complete specification along with supporting documentation, run: python gendoc.py The output of this will be inside the "gen" folder. Matrix.org only ("gen" folder has matrix.org tweaked pages): ./matrix-org-gendoc.sh /path/to/matrix.org/includes/nav.html