px_process_module_doc: separate page into one page per category

This commit is contained in:
Beat Küng
2017-07-14 11:57:11 +02:00
parent 05c3b711f3
commit 7a4f557a7a
2 changed files with 22 additions and 9 deletions
+3
View File
@@ -93,6 +93,9 @@ def main():
# Output to Markdown/HTML tables
if args.markdown:
if (args.verbose): print("Creating markdown output to directory " + str(args.markdown))
if not os.path.exists(args.markdown):
os.makedirs(args.markdown)
out = markdownout.MarkdownTablesOutput(module_groups)
out.Save(args.markdown)