mirror of
https://github.com/MillironX/nfdocs-parser.git
synced 2024-11-21 16:46:05 +00:00
Make table title optional in params_to_table function
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
4993a39d17
commit
ab795f0842
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@ def definition_type(signature):
|
|||
def params_to_table(type, params):
|
||||
# Create a table
|
||||
params_table = nodes.table()
|
||||
params_table += nodes.title(text=type)
|
||||
if type:
|
||||
params_table += nodes.title(text=type)
|
||||
|
||||
# Make it two columns wide
|
||||
params_tgroup = nodes.tgroup(cols=2)
|
||||
|
|
Loading…
Reference in a new issue