Correct valid_values handling for asciidoc
This commit is contained in:
parent
5accef963d
commit
a7f9461d1f
@ -357,7 +357,7 @@ def _generate_setting_section(f, sectname, sect):
|
||||
f.write("=== {}".format(optname) + "\n")
|
||||
f.write(sect.descriptions[optname] + "\n")
|
||||
f.write("\n")
|
||||
valid_values = option.typ.valid_values
|
||||
valid_values = option.typ.get_valid_values()
|
||||
if valid_values is not None:
|
||||
f.write("Valid values:\n")
|
||||
f.write("\n")
|
||||
|
Loading…
Reference in New Issue
Block a user