Browse Source

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

tags/1.0.0
Jenkins 3 years ago
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):
438 438
             'items': [],
439 439
         }
440 440
 
441
+        # Skip the options that is explicitly marked as disabled,
442
+        # which is used for common configuration options.
443
+        if cat == 'disable':
444
+            continue
445
+
441 446
         if cat in category_names:
442 447
             env['nice_cat'] = category_names[cat]
443 448
         else:

Loading…
Cancel
Save