Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add CLI args docs generator #34

Closed
wants to merge 1 commit into from
Closed

Conversation

pmalek
Copy link
Member

@pmalek pmalek commented Mar 19, 2024

What this PR does

This PR adds generate.cli-arguments-docs makefile target which takes the flags from https://github.com/Kong/gateway-operator/blob/7390dcf2e1cebb7eb08c4c1f8af0e3a084423034/modules/cli/cli.go and generates markdown table based on that.

#35 tracks the automation effort of that.

The included script: ./scripts/cli-arguments-docs-gen/post-process-for-konghq.sh adopts the docs to docs.konghq.com format.

@pmalek pmalek self-assigned this Mar 19, 2024
@pmalek pmalek added this to the KGO v1.2.x milestone Mar 19, 2024
@pmalek pmalek marked this pull request as ready for review March 19, 2024 12:36
@pmalek pmalek requested a review from a team as a code owner March 19, 2024 12:36
@pmalek
Copy link
Member Author

pmalek commented Mar 19, 2024

Implemented in EE because its flags are a superset of this repo's flags.

@pmalek pmalek closed this Mar 19, 2024
@pmalek pmalek deleted the add-cli-args-generator branch March 19, 2024 14:00
@pmalek pmalek removed this from the KGO v1.2.x milestone Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant