Skip to content

DOC-1325 update metadata in cloud-docs single sourcing#284

Merged
micheleRP merged 2 commits intomainfrom
DOC-1325-update-metadata-in-cloud-docs-single-sourcing
May 7, 2025
Merged

DOC-1325 update metadata in cloud-docs single sourcing#284
micheleRP merged 2 commits intomainfrom
DOC-1325-update-metadata-in-cloud-docs-single-sourcing

Conversation

@micheleRP
Copy link
Copy Markdown
Contributor

@micheleRP micheleRP commented May 7, 2025

Description

This pull request standarizes metadata attributes in single-sourced files. It removes :env-cloud: true and :page-categories: For better SEO for Redpanda Cloud, it also adds :description: instead of single sourcing it from the file in the docs repo. (see docs update in redpanda-data/docs#1114).

Resolves https://redpandadata.atlassian.net/browse/DOC-1325
Review deadline:

Page previews

https://deploy-preview-284--rp-cloud.netlify.app/redpanda-cloud/develop/

Checks

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

@micheleRP micheleRP requested a review from a team as a code owner May 7, 2025 01:21
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented May 7, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The changes introduce or update the :description: metadata attribute in multiple AsciiDoc documentation files across various modules. This attribute provides a concise summary of each page's content, intended to improve SEO and standardize metadata. Additionally, some obsolete or unnecessary metadata attributes such as :page-aliases: and :page-cloud: are removed from a few files. No changes are made to the main content, structure, or logic of the documentation pages.

Assessment against linked issues

Objective Addressed Explanation
Add :description: attributes to all cloud-doc single sourced files (DOC-1325)
Standardize other metadata attributes in cloud-docs (DOC-1325)

Suggested reviewers

  • kbatuigas
  • alenkacz

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@netlify
Copy link
Copy Markdown

netlify bot commented May 7, 2025

Deploy Preview for rp-cloud ready!

Name Link
🔨 Latest commit 03fab42
🔍 Latest deploy log https://app.netlify.com/sites/rp-cloud/deploys/681b8bbe45bf1c0008d8b67b
😎 Deploy Preview https://deploy-preview-284--rp-cloud.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
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
modules/develop/pages/produce-data/idempotent-producers.adoc (1)

1-4: Optional: Standardize metadata ordering
For consistency across documentation pages, consider placing :description: immediately after the title, before other metadata attributes.

--- a/modules/develop/pages/produce-data/idempotent-producers.adoc
+++ b/modules/develop/pages/produce-data/idempotent-producers.adoc
@@
 = Idempotent Producers
+:description: Idempotent producers assign a unique ID to every write request, guaranteeing that each message is recorded only once in the order in which it was sent.
 :page-aliases: development:idempotent-producers.adoc
 :page-categories: Clients, Development
modules/manage/pages/rpk/config-rpk-profile.adoc (1)

1-4: Optional: Align attribute ordering for consistency
To match other pages, move :description: directly below the title for uniform layout.

--- a/modules/manage/pages/rpk/config-rpk-profile.adoc
+++ b/modules/manage/pages/rpk/config-rpk-profile.adoc
@@
 = rpk Profiles
+:description: pass:q[Use `rpk profile` to simplify your development experience with multiple Redpanda clusters by saving and reusing configurations for different clusters.]
 :page-aliases: get-started:rpk/config-rpk-profile.adoc
 :page-categories: rpk
modules/manage/pages/rpk/broker-admin.adoc (1)

1-4: Optional: Consistent positioning of description attribute
Consider moving :description: immediately under the title to standardize metadata order across pages.

--- a/modules/manage/pages/rpk/broker-admin.adoc
+++ b/modules/manage/pages/rpk/broker-admin.adoc
@@
 = Specify Broker Addresses for rpk
+:description: pass:q[Learn how and when to specify Redpanda broker addresses for `rpk` commands, so `rpk` knows where to run Kafka-related commands.]
 :page-categories: rpk
 :page-aliases: get-started:rpk/broker-admin.adoc
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6ff48e0 and 9b7f1a3.

📒 Files selected for processing (22)
  • modules/develop/pages/consume-data/consumer-offsets.adoc (1 hunks)
  • modules/develop/pages/consume-data/follower-fetching.adoc (1 hunks)
  • modules/develop/pages/http-proxy.adoc (1 hunks)
  • modules/develop/pages/kafka-clients.adoc (1 hunks)
  • modules/develop/pages/produce-data/configure-producers.adoc (1 hunks)
  • modules/develop/pages/produce-data/idempotent-producers.adoc (1 hunks)
  • modules/develop/pages/produce-data/leader-pinning.adoc (1 hunks)
  • modules/develop/pages/transactions.adoc (1 hunks)
  • modules/get-started/pages/architecture.adoc (1 hunks)
  • modules/get-started/pages/intro-to-events.adoc (1 hunks)
  • modules/get-started/pages/partner-integration.adoc (1 hunks)
  • modules/manage/pages/rpk/broker-admin.adoc (1 hunks)
  • modules/manage/pages/rpk/config-rpk-profile.adoc (1 hunks)
  • modules/manage/pages/rpk/intro-to-rpk.adoc (1 hunks)
  • modules/manage/pages/rpk/rpk-install.adoc (1 hunks)
  • modules/manage/pages/schema-reg/programmable-push-filters.adoc (0 hunks)
  • modules/manage/pages/schema-reg/record-deserialization.adoc (0 hunks)
  • modules/manage/pages/schema-reg/schema-reg-api.adoc (1 hunks)
  • modules/manage/pages/schema-reg/schema-reg-overview.adoc (1 hunks)
  • modules/manage/pages/schema-reg/schema-reg-ui.adoc (0 hunks)
  • modules/manage/pages/terraform-provider.adoc (0 hunks)
  • modules/reference/pages/public-metrics-reference.adoc (1 hunks)
💤 Files with no reviewable changes (4)
  • modules/manage/pages/schema-reg/programmable-push-filters.adoc
  • modules/manage/pages/schema-reg/schema-reg-ui.adoc
  • modules/manage/pages/schema-reg/record-deserialization.adoc
  • modules/manage/pages/terraform-provider.adoc
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - rp-cloud
  • GitHub Check: Header rules - rp-cloud
  • GitHub Check: Pages changed - rp-cloud
🔇 Additional comments (18)
modules/get-started/pages/architecture.adoc (1)

4-4: Add concise :description: metadata
The new :description: attribute succinctly summarizes the page content and aligns with the metadata updates across the docs.

modules/get-started/pages/intro-to-events.adoc (1)

4-4: Include consistent :description: for SEO and clarity
The added description clearly conveys the purpose of the event-streaming intro and matches the style of other pages.

modules/get-started/pages/partner-integration.adoc (1)

3-3: Provide :description: metadata to summarize partner integrations
The inserted description gives readers immediate context on partner integrations and keeps metadata uniform across guides.

modules/manage/pages/schema-reg/schema-reg-api.adoc (1)

3-3: Add concise page description metadata
The new :description: attribute succinctly summarizes the Schema Registry API management operations on this page, aligning with the rest of the documentation and improving discoverability.

modules/reference/pages/public-metrics-reference.adoc (1)

2-2: Add dashboard metrics description
The added :description: attribute clearly explains the purpose of this reference page in just a few words, matching the metadata style applied across the docs.

modules/manage/pages/rpk/rpk-install.adoc (1)

4-4: Preserve monospace formatting in metadata
Using pass:q[...] is a good approach to include backticks around rpk in the description without parsing errors. This ensures the CLI tool name is rendered correctly in the metadata summary.

modules/develop/pages/http-proxy.adoc (1)

4-4: Document HTTP Proxy functionality
The new :description: attribute captures the core features of the HTTP Proxy API, maintaining consistency with other client and development pages.

modules/manage/pages/schema-reg/schema-reg-overview.adoc (1)

3-3: Standardize Schema Registry summary metadata
The :description: attribute accurately conveys the purpose of Redpanda’s Schema Registry, and the removal of obsolete aliases keeps the header clean.

modules/manage/pages/rpk/intro-to-rpk.adoc (1)

4-4: Add concise page description metadata.

The new :description: attribute clearly summarizes the purpose of this page and correctly escapes the inline code (rpk) using the pass:q macro to maintain AsciiDoc compliance. This aligns with the metadata pattern across other rpk docs.

modules/develop/pages/produce-data/configure-producers.adoc (1)

4-4: Introduce descriptive metadata for clarity.

The added :description: succinctly outlines the producer configuration topics (write caching and acknowledgments) without altering page structure. This matches the metadata enhancements in related docs.

modules/develop/pages/consume-data/follower-fetching.adoc (1)

3-3: Enhance documentation metadata with summary.

The :description: attribute now provides a clear overview of follower fetching functionality, improving discoverability and consistency with other consumer-related pages.

modules/develop/pages/kafka-clients.adoc (1)

4-4: Add Kafka client compatibility summary.

The new :description: accurately conveys supported Kafka client versions and references validations/exceptions. It aligns with the broader metadata standardization in this PR.

modules/develop/pages/transactions.adoc (1)

4-4: Provide transaction usage overview.

The inserted :description: effectively summarizes transactional processing workflows, matching the style and intent of metadata updates in other development docs.

modules/develop/pages/produce-data/leader-pinning.adoc (1)

2-2: Added description metadata for improved discoverability
The new :description: attribute succinctly summarizes the page's content, enhancing SEO and user clarity without altering the document structure.

modules/develop/pages/consume-data/consumer-offsets.adoc (1)

2-2: Added descriptive metadata with literal quoting
The pass:q[] macro correctly preserves backticks and underscores in the description for the internal topic name.

modules/develop/pages/produce-data/idempotent-producers.adoc (1)

4-4: Added description metadata to explain idempotent producer behavior
The new attribute clearly communicates that idempotent producers guarantee exactly-once, in-order message delivery.

modules/manage/pages/rpk/config-rpk-profile.adoc (1)

4-4: Added metadata to clarify rpk profile usage
The pass:q[] wrapper ensures safe rendering of backticks in the description.

modules/manage/pages/rpk/broker-admin.adoc (1)

4-4: Added metadata explaining broker address configuration
The pass:q[] macro preserves backticks around rpk commands within the description.

@micheleRP micheleRP merged commit b15a5ce into main May 7, 2025
6 checks passed
@micheleRP micheleRP deleted the DOC-1325-update-metadata-in-cloud-docs-single-sourcing branch May 7, 2025 17:46
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