Skip to content

Register the enterprise and prop macros site-wide and consume the shared folder - #205

Draft
JakeSCahill wants to merge 1 commit into
mainfrom
DOC-887-macro-registration
Draft

Register the enterprise and prop macros site-wide and consume the shared folder#205
JakeSCahill wants to merge 1 commit into
mainfrom
DOC-887-macro-registration

Conversation

@JakeSCahill

Copy link
Copy Markdown
Contributor

In plain English

This is the production switch for two systems landing across the content repos: enterprise feature mentions that are validated against a canonical registry, and property references that are explicitly marked and verified against the published property data (instead of the UI guessing from text). Content in those repos is written with the new enterprise: and prop: macros — until the site playbooks register the macros, that content renders as literal macro text. This PR registers both macros in all three playbooks with warn-level validation, and switches the shared component source from the retired shared branch to the shared/ folder on docs main.

⚠️ Dependencies — merge order

  1. docs-extensions-and-macros 5.7.0 published: #249 → #253 → #251 → #254 in that repo (the site build installs the package, so the macros must exist in the published version).
  2. Move the shared component to a folder on main and add the enterprise features registry docs#1892 merged (the shared/ folder must exist on docs main before the start_path: shared source resolves).
  3. Then this PR — after which the content PRs can merge: docs#1895, docs#1896, docs#1897 (v/26.1), docs#1898 (v/25.3), cloud-docs#668, rp-connect-docs#485.
  4. docs-ui #413/#415 bundle release completes the picture (styling and tooltips).

Why warn-level validation

enterprise-validate: warn and property-validate: warn log unknown names with file paths and suggestions without failing production builds. Once the content PRs are in and builds are clean, both can flip to error so a typo'd property or a made-up enterprise feature fails CI instead of shipping.

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

…he shared folder

Registers the enterprise and prop macros (docs-extensions-and-macros
>= 5.7.0) with warn-level validation attributes in all three playbooks,
enabling the registry-validated enterprise markings and opt-in property
references landing across the content repos and their versioned
branches.

Also cuts the shared component over from the retired shared branch to
the shared/ folder on docs main (start_path source), matching the docs
repo's own playbook.
@netlify

netlify Bot commented Aug 9, 2026

Copy link
Copy Markdown

Deploy Preview for redpanda-documentation failed. Why did it fail? →

Name Link
🔨 Latest commit 08384c6
🔍 Latest deploy log https://app.netlify.com/projects/redpanda-documentation/deploys/6a78134356d7aa0008ce1a3f

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