Browse Source

Merge "[config-ref] skip options marked as disable"

tags/1.0.0
Jenkins 4 years ago
committed by Gerrit Code Review
parent
commit
dbd8a0afa0
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      autogenerate_config_docs/autohelp.py

+ 5
- 0
autogenerate_config_docs/autohelp.py View File

@@ -438,6 +438,11 @@ def write_files(package_name, options, target, output_format):
'items': [],
}

# Skip the options that is explicitly marked as disabled,
# which is used for common configuration options.
if cat == 'disable':
continue

if cat in category_names:
env['nice_cat'] = category_names[cat]
else:


Loading…
Cancel
Save