You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bin/doc-tools.js
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1032,17 +1032,20 @@ automation
1032
1032
1033
1033
automation
1034
1034
.command('property-docs')
1035
-
.description('Generate JSON and AsciiDoc documentation for Redpanda configuration properties')
1035
+
.description('Generate JSON and AsciiDoc documentation for Redpanda configuration properties. By default, only extracts properties to JSON. Use --generate-partials to create consolidated AsciiDoc partials (including deprecated properties). Use --generate-pages to create complete property pages that include the partials using AsciiDoc includes.')
1036
1036
.option('--tag <tag>','Git tag or branch to extract from','dev')
1037
-
.option('--diff <oldTag>','Also diff autogenerated properties from <oldTag> → <tag>')
1037
+
.option('--diff <oldTag>','Also diff autogenerated properties from <oldTag> to <tag>')
1038
1038
.option('--overrides <path>','Optional JSON file with property description overrides')
1039
1039
.option('--output-dir <dir>','Where to write all generated files','modules/reference')
1040
-
.option('--cloud-support','Enable cloud support metadata by fetching configuration from the cloudv2 repository (requires GITHUB_TOKEN, GH_TOKEN, or REDPANDA_GITHUB_TOKEN)')
1040
+
.option('--cloud-support','Add AsciiDoc tags to generated property docs to indicate which ones are supported in Redpanda Cloud. This data is fetched from the cloudv2 repository so requires a GitHub token with repo permissions. Set the token as an environment variable using GITHUB_TOKEN, GH_TOKEN, or REDPANDA_GITHUB_TOKEN')
1041
1041
.option('--template-property-page <path>','Custom Handlebars template for property page layout')
1042
1042
.option('--template-property <path>','Custom Handlebars template for individual property sections')
1043
1043
.option('--template-topic-property <path>','Custom Handlebars template for individual topic property sections')
1044
1044
.option('--template-deprecated <path>','Custom Handlebars template for deprecated properties page')
1045
1045
.option('--template-deprecated-property <path>','Custom Handlebars template for individual deprecated property sections')
1046
+
.option('--generate-partials','Generate consolidated property partials (cluster-properties.adoc, topic-properties.adoc, etc.) in the partials directory')
1047
+
.option('--partials-dir <path>','Directory for property partials (relative to output-dir)','partials')
1048
+
.option('--generate-pages','Generate complete property pages that include the partials using AsciiDoc includes')
0 commit comments