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:
Thomas A. Christensen II 2022-01-10 17:24:56 -06:00
parent 4993a39d17
commit ab795f0842
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -28,6 +28,7 @@ def definition_type(signature):
def params_to_table(type, params): def params_to_table(type, params):
# Create a table # Create a table
params_table = nodes.table() params_table = nodes.table()
if type:
params_table += nodes.title(text=type) params_table += nodes.title(text=type)
# Make it two columns wide # Make it two columns wide