Skip to content

Opt-in property references through the prop macro - #668

Draft
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-887-prop-macro-adoption
Draft

Opt-in property references through the prop macro#668
JakeSCahill wants to merge 2 commits into
mainfrom
DOC-887-prop-macro-adoption

Conversation

@JakeSCahill

@JakeSCahill JakeSCahill commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

In plain English

Same change as the docs-repo migration (redpanda-data/docs#1896), for the cloud docs: property mentions in prose are explicitly marked with the prop: macro and build-verified against the published property data, instead of the UI guessing based on text matching (which gave wrong tooltips to ordinary words like admin that are also property names). On cloud pages, marked properties link to cloud's own property reference pages — the macro discovers which cloud page documents each property and only borrows the streaming docs for properties cloud doesn't publish.

⚠️ Dependencies — do not merge before

  1. docs-extensions-and-macros 5.15.0 published (merge order DOC-1162 move BYOC arch #249Update create-byoc-cluster-aws.adoc - move bullet outside of AWS credentials bullet #253BYOC - AWS IAM clarification #251DOC-1214 update link to price calculator #254 in that repo).
  2. docs-ui Add What's New entry for Cloud MCP #415 released (the tooltip cutover; without it marked properties render as plain code — harmless, never wrong).
  3. For production, the docs-site playbook must also register the macro (site-wide registration covers this component's pages in the prod build; this PR registers it for cloud-docs previews).

Contents

  • prop macro registered in the local playbook with property-validate: warn.
  • 23 property mentions converted across 9 files, each validated against the current published JSON; the 5 ambiguous separator-free names (admin, brokers, rack, retries, superusers) deliberately left plain.
  • No config_ref calls existed in this repo, so nothing to migrate there.

Full explainer: macros/PROPERTY_AND_ENTERPRISE_REFERENCES.adoc in docs-extensions-and-macros#254.

Registers the prop macro (docs-extensions-and-macros >= 5.7.0) with
property-validate: warn and converts plain-backtick cluster property
mentions in prose to prop macro calls, validated against the published
redpanda-properties JSON. Marked properties get hover tooltips and,
with link=true, links that resolve within this component's own property
pages (the macro discovers which cloud page documents each property,
borrowing the streaming docs only for properties cloud does not
publish).
@netlify

netlify Bot commented Aug 9, 2026

Copy link
Copy Markdown

Deploy Preview for rp-cloud failed. Why did it fail? →

Name Link
🔨 Latest commit 24764bb
🔍 Latest deploy log https://app.netlify.com/projects/rp-cloud/deploys/6a78373da9d6f60008a7c3db

@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

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.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 563fa54a-61b7-4a80-972d-2643b564884d

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

Four prop: conversions marked identifiers that share a name with a
Redpanda property but are not that property in context, so the tooltip
would have described something unrelated:

- create-redpanda-catalog.adoc: sasl_mechanism is a CREATE REDPANDA
  CATALOG option. The property of that name is a broker setting for the
  HTTP Proxy client's connection to the Kafka API.
- terraform-provider.adoc (x2): cluster_id is a Terraform resource
  argument set from data.redpanda_cluster.byoc.id, not the read-only
  cluster_id cluster property.
- vpc-byo-aws.adoc: cloud_storage_bucket is a BYOVPC resource name in a
  list with management_bucket and dynamodb_table, not a property being set.
- create-mmaker-source-connector.adoc: replication.factor is the
  MirrorMaker connector config key, listed beside replication.policy.class
  and offset-syncs.topic.replication.factor.

In each case the sibling identifiers were correctly left as plain code,
so marking only these read as inconsistent as well as wrong.
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