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

v2: update CRD docs and doc generation #396

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

chrisseto
Copy link
Contributor

This commit transplants the documentation for the recent redpanda helm chart update to their relevant place in the Redpanda CRD. In addition, it adds a configuration for crd-doc-ref to allow developers to review how documentation changes will be presented in our public docs ahead of merging.

This commit also proactively changes instances of markdown URLs to asciidoc compatible links and adds a linter to prevent regressions.

ci/crd-ref-docs.nix Outdated Show resolved Hide resolved
ci/crd-ref-docs.nix Outdated Show resolved Hide resolved
Comment on lines +509 to +510
// tuning is required, the CLI flags can be manually overridden using
// `statefulset.additionalRedpandaCmdFlags`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// tuning is required, the CLI flags can be manually overridden using
// `statefulset.additionalRedpandaCmdFlags`.
// tuning is required, the CLI flags can be manually overridden using
// `statefulset.additionalRedpandaCmdFlags` in Redpanda helm chart.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need to specify helm chart here. The mentioned path is equally correct for the operator. Perhaps we should qualify it with spec.clusterSpec though?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the spec.clusterSpec would help me orientate. Sometimes I'm confused wheter it's Operator helm chart values or Redpanda helm chart values or Redpanda custom resource 🤯

@RafalKorepta
Copy link
Contributor

I think the

nix develop -c changie merge -u '## Unreleased'

needs to be perform to pass lint test.

@chrisseto chrisseto force-pushed the chris/p/crd-doc-updates branch from eb655dc to 78df746 Compare January 16, 2025 16:57
Copy link
Contributor

@RafalKorepta RafalKorepta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I wonder how you visualise generated crd-docs.adoc page?

P.S. There is now conflict :(

This commit transplants the documentation for the recent redpanda helm chart
update to their relevant place in the Redpanda CRD. In addition, it adds a
configuration for crd-doc-ref to allow developers to review how documentation
changes will be presented in our public docs ahead of merging.

This commit also proactively changes instances of markdown URLs to asciidoc
compatible links and adds a linter to prevent regressions.
@chrisseto chrisseto force-pushed the chris/p/crd-doc-updates branch from 78df746 to 41e8868 Compare January 16, 2025 18:04
@chrisseto
Copy link
Contributor Author

I used https://asciidoctor.org/ to render it into HTML. The adoc alone isn't super useful but its more than nothing.

@RafalKorepta RafalKorepta merged commit ffdbfad into main Jan 17, 2025
8 checks passed
@chrisseto chrisseto deleted the chris/p/crd-doc-updates branch January 17, 2025 14:40
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.

2 participants