Add sections to the document tree

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-01-10 15:25:11 -06:00
parent ad108c60b5
commit cef18ef1fc
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -118,8 +118,12 @@ class NFDocs(Directive):
io_list += self.params_to_list(io)
io_section += io_list
proc_section += io_section
self.state_machine.document.note_implicit_target(io_section)
self.state_machine.document.note_implicit_target(proc_section)
block_section += proc_section
print(block_section)
self.state_machine.document.note_implicit_target(block_section)
return_nodes.append(block_section)
return return_nodes