mirror of
https://github.com/MillironX/nfdocs-parser.git
synced 2024-12-22 11:18:16 +00:00
Switch NFDocs directive to use parameter tables instead of bullet lists
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
ed37b5036a
commit
5362d16fad
1 changed files with 2 additions and 8 deletions
|
@ -185,14 +185,8 @@ class NFDocs(Directive):
|
|||
io_methods = ["input", "output"]
|
||||
for met in io_methods:
|
||||
if met in proc_docs.keys():
|
||||
io_section = nodes.section()
|
||||
io_section += nodes.title(text=met)
|
||||
io_list = nodes.bullet_list()
|
||||
for io in proc_docs[met]:
|
||||
io_list += params_to_list(io)
|
||||
io_section += io_list
|
||||
proc_section += io_section
|
||||
self.state_machine.document.note_implicit_target(io_section)
|
||||
io_table = params_to_table(met, proc_docs[met])
|
||||
proc_section += io_table
|
||||
self.state_machine.document.note_implicit_target(proc_section)
|
||||
block_section += proc_section
|
||||
|
||||
|
|
Loading…
Reference in a new issue