More conf docs

Also dont parse option values unnecessarily
This commit is contained in:
Kovid Goyal
2018-06-05 07:52:29 +05:30
parent b6d33e2019
commit 6c1434ab8a
4 changed files with 59 additions and 11 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ def render_conf(conf_name, all_options):
current_group = None
all_options = list(all_options)
for i, opt in enumerate(all_options):
if not opt.long_text:
if not opt.long_text or not opt.add_to_default:
continue
if opt.group is not current_group:
if current_group and current_group.end_text: