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

Point config at the redpanda-operator repo #956

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

JakeSCahill
Copy link
Contributor

@JakeSCahill JakeSCahill commented Jan 17, 2025

Description

Review deadline: 21 Jan

We now host the config for the crd-ref-docs tool in the redpanda-operator repo so that the K8s team can manage it: https://github.com/redpanda-data/redpanda-operator/pull/396/files#diff-0cb4f1303ff20a2dac37c99d821bff1eded9843e59401d605c4c8314d8762c3e

Page previews

https://deploy-preview-956--redpanda-docs-preview.netlify.app/current/reference/k-crd/

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

We now host the config for the `crd-ref-docs` tool in the `redpanda-operator` repo so that the K8s team can manage it: https://github.com/redpanda-data/redpanda-operator/pull/396/files#diff-0cb4f1303ff20a2dac37c99d821bff1eded9843e59401d605c4c8314d8762c3e
@JakeSCahill JakeSCahill requested a review from a team as a code owner January 17, 2025 16:27
@JakeSCahill JakeSCahill requested a review from chrisseto January 17, 2025 16:27
Copy link

netlify bot commented Jan 17, 2025

Deploy Preview for redpanda-docs-preview ready!

Name Link
🔨 Latest commit 06057a9
🔍 Latest deploy log https://app.netlify.com/sites/redpanda-docs-preview/deploys/678a850ce843570008990952
😎 Deploy Preview https://deploy-preview-956--redpanda-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@chrisseto chrisseto left a comment

Choose a reason for hiding this comment

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

Preview site looks good to me!

The one maybe oddity is that you have to click twice to get to the actual references:

Screenshot 2025-01-21 at 09 39 31

Still, no invalid type and fewer broken links is a win 🎉 (Disclaimer I did not check all links so I'm just guessing that some are still broken)

@JakeSCahill
Copy link
Contributor Author

Thanks for this, Chris! The extra click is a scalability thing. We have a parent index page so that in the future, we can automatically list all available CRDs/versions on that page.

Copy link
Contributor

@asimms41 asimms41 left a comment

Choose a reason for hiding this comment

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

Just some observations...

  • There are some parts of the spec that are not populated. For example RPControllers, PodTemplate, PodSpecApplyConfiguration. Should these be visible?
  • Links to docs (and other resources) are shown as html links. For example TopicSpec. I take it that is a limitation?
  • Should all config be at the same level? You need to drill down to find certain objects, fields/properties etc but the in-page navigation shows everything at the same level. Also, some fields/properties have the type shown, for example AuthorizationType (string).

@JakeSCahill JakeSCahill requested a review from asimms41 January 22, 2025 13:47
@JakeSCahill
Copy link
Contributor Author

JakeSCahill commented Jan 22, 2025

Thanks Angela, I'll add these items to a separate Jira on improving the CRD spec docs.

https://redpandadata.atlassian.net/browse/DOC-969

Copy link
Contributor

@asimms41 asimms41 left a comment

Choose a reason for hiding this comment

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

LGTM for a v1

@JakeSCahill JakeSCahill merged commit da65503 into main Jan 22, 2025
7 checks passed
@JakeSCahill JakeSCahill deleted the JakeSCahill-patch-3 branch January 22, 2025 16:47
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.

3 participants