Fix commas in settings docs
Otherwise, asciidoc interprets it as a third parameter to the xref... Fixes #3046
This commit is contained in:
parent
5af8a95c82
commit
64e0313090
@ -1944,7 +1944,7 @@ Default: +pass:[ask]+
|
|||||||
=== content.user_stylesheets
|
=== content.user_stylesheets
|
||||||
A list of user stylesheet filenames to use.
|
A list of user stylesheet filenames to use.
|
||||||
|
|
||||||
Type: <<types,List of File, or File>>
|
Type: <<types,List of File, or File>>
|
||||||
|
|
||||||
Default: empty
|
Default: empty
|
||||||
|
|
||||||
@ -3065,7 +3065,7 @@ Default:
|
|||||||
=== url.start_pages
|
=== url.start_pages
|
||||||
The page(s) to open at the start.
|
The page(s) to open at the start.
|
||||||
|
|
||||||
Type: <<types,List of FuzzyUrl, or FuzzyUrl>>
|
Type: <<types,List of FuzzyUrl, or FuzzyUrl>>
|
||||||
|
|
||||||
Default: +pass:[https://start.duckduckgo.com]+
|
Default: +pass:[https://start.duckduckgo.com]+
|
||||||
|
|
||||||
|
@ -416,7 +416,8 @@ def _generate_setting_option(f, opt):
|
|||||||
f.write("=== {}".format(opt.name) + "\n")
|
f.write("=== {}".format(opt.name) + "\n")
|
||||||
f.write(opt.description + "\n")
|
f.write(opt.description + "\n")
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
f.write('Type: <<types,{typ}>>\n'.format(typ=opt.typ.get_name()))
|
typ = opt.typ.get_name().replace(',', ',')
|
||||||
|
f.write('Type: <<types,{typ}>>\n'.format(typ=typ))
|
||||||
f.write("\n")
|
f.write("\n")
|
||||||
|
|
||||||
valid_values = opt.typ.get_valid_values()
|
valid_values = opt.typ.get_valid_values()
|
||||||
|
Loading…
Reference in New Issue
Block a user