Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 6555775

Browse files
authored
Merge pull request #36 from DirectiveAthena/v6.1.0
V6.1.0
2 parents e00d89d + 69e9e65 commit 6555775

File tree

14 files changed

+4099
-183
lines changed

14 files changed

+4099
-183
lines changed

documentor.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# ----------------------------------------------------------------------------------------------------------------------
2+
# - Package Imports -
3+
# ----------------------------------------------------------------------------------------------------------------------
4+
# General Packages
5+
from __future__ import annotations
6+
7+
# Custom Library
8+
import AthenaDocumentor
9+
import AthenaColor
10+
11+
# Custom Packages
12+
13+
# ----------------------------------------------------------------------------------------------------------------------
14+
# - Code -
15+
# ----------------------------------------------------------------------------------------------------------------------
16+
def main(root_module):
17+
parser = AthenaDocumentor.Parser(root_module=root_module).parse()
18+
# output the desired root_module to JSON
19+
parser.output_to_json_file(
20+
"exports/documentor.json"
21+
)
22+
# output the desired root_module to Markdown
23+
parser.output_to_markdown_file(
24+
r"exports\documentor.md",
25+
r"D:\Directive Athena\Programs\Veritas\Storage\Documentation\Content\Programming\AthenaColor\reference.md"
26+
)
27+
28+
if __name__ == '__main__':
29+
main(
30+
root_module = AthenaColor
31+
)

0 commit comments

Comments
 (0)