Specify column widths
This commit is contained in:
parent
8b5e23dd66
commit
8afb20c226
@ -103,7 +103,7 @@ def get_cmd_syntax(name, cmd):
|
|||||||
|
|
||||||
def get_command_quickref(cmds):
|
def get_command_quickref(cmds):
|
||||||
out = []
|
out = []
|
||||||
out.append('[options="header",width="75%"]')
|
out.append('[options="header",width="75%",cols="25%,75%"]')
|
||||||
out.append('|==============')
|
out.append('|==============')
|
||||||
out.append('|Command|Description')
|
out.append('|Command|Description')
|
||||||
for name, cmd in cmds:
|
for name, cmd in cmds:
|
||||||
@ -119,7 +119,7 @@ def get_setting_quickref():
|
|||||||
if not getattr(sect, 'descriptions'):
|
if not getattr(sect, 'descriptions'):
|
||||||
continue
|
continue
|
||||||
out.append(".Quick reference for section ``{}''".format(sectname))
|
out.append(".Quick reference for section ``{}''".format(sectname))
|
||||||
out.append('[options="header",width="75%"]')
|
out.append('[options="header",width="75%",cols="25%,75%"]')
|
||||||
out.append('|==============')
|
out.append('|==============')
|
||||||
out.append('|Setting|Description')
|
out.append('|Setting|Description')
|
||||||
for optname, option in sect.items():
|
for optname, option in sect.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user