Commit graph

40 commits

Author SHA1 Message Date
54dc67b0d3 Add error catching for YAML parsing
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-25 10:15:13 -06:00
48c2d7a151
Add error catching
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-25 10:11:33 -06:00
a74e650635
Add sorting for the process names
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-11 08:49:39 -06:00
c498ec82da
Promote params_to_table function to NFDocs class
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:54:42 -06:00
d4b3fdc354
Switch to parsing workflows before processes
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:42:24 -06:00
ccda669363
Add plural string understanding to section titles
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:41:20 -06:00
c8d642002b
Add check for zero docs of that type
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:38:32 -06:00
6b0fee69b2 Add capitalization for section titles
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:36:02 -06:00
7b9b9948cc
Add bolded text for parameter names
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:30:46 -06:00
0b7d2df746
Remove "Tuple" table printing for sub tables
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:25:43 -06:00
ab795f0842
Make table title optional in params_to_table function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:24:56 -06:00
4993a39d17
Modify IO table to use text nodes when applicable
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:23:43 -06:00
f7744f9463
Remove parameter bullet list generating function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:16:04 -06:00
5362d16fad
Switch NFDocs directive to use parameter tables instead of bullet lists
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:15:42 -06:00
ed37b5036a
Add a function to make parameter tables
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 17:14:37 -06:00
f1b695baf9
Remove function params_to_list from NFDocs class
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 16:15:51 -06:00
f555cd9c20
Remove function definition_type from NFDocs class
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 16:14:42 -06:00
ccdb61ac27
Refactor to parse multiple files from the directory
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 16:13:30 -06:00
ab23cd2e17
Remove debug print statement
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 15:29:24 -06:00
cef18ef1fc
Add sections to the document tree
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-10 15:25:11 -06:00
ad108c60b5
Correct function signatures for use inside of class
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-06 08:10:33 -06:00
cd83bcb3d1
Add setup function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:46:26 -06:00
5124acddc7 Promote main script to RST run function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:43:50 -06:00
c09f664328
Promote the parser script to a Directive class
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:32:43 -06:00
01bd885867
Add document tree creation based on docstrings
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:31:56 -06:00
0256c01c20
Removing debugging print line from parameter parsing function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:28:28 -06:00
5c1bd1cb14
Add regular input/output parsing to parameter parsing function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:22:44 -06:00
33489aa277
Add named output parsing to tuple parsing function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:21:21 -06:00
1b3180e3ab
Fix indexing error cutting off last line of docstrings
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 16:20:24 -06:00
557a7e3ccd
Add a function that can parse recursive tuples
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 15:19:47 -06:00
c481a04fc0
Make docstring dictionary more generic
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 14:22:48 -06:00
f880f47b3d
Fix YAML deprecation
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 14:12:30 -06:00
157105379e
Add docstring parsing per process
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 14:09:31 -06:00
dbc70e0d4d
Add definition_type function to parse out function names and types
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:52:14 -06:00
d727de5715
Add finding positions of docstrings
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:36:10 -06:00
4f6fc88e40
Add comments to parser
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:20:35 -06:00
fc4c536ab6
Add line extraction to parser
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:19:33 -06:00
29d17c9581
Add file reading to parser
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:17:47 -06:00
4c0f7869ac
Add argument parsing to nfdocs-parser.py
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:16:43 -06:00
ca4982cee8
Add nfdocs-parser.py
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
2022-01-05 13:15:29 -06:00