Skip to content

DOC-7120 unit 2: convert kubernetes security/reference/active-active/re-clusters to render hooks - #4131

Merged
dwdougherty merged 1 commit into
mainfrom
DOC-7120-kubernetes-unit2
Sep 28, 2026
Merged

dwdougherty merged 1 commit into
mainfrom
DOC-7120-kubernetes-unit2

Conversation

@andy-stark-redis

@andy-stark-redis andy-stark-redis commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Converts content/operate/kubernetes/security/, reference/, active-active/, and re-clusters/ (57 files) from relref/callout shortcodes to render hooks. Unit 2 of DOC-7120, continuing the DOC-6909 render-hook migration series.

Counts: 42/57 files changed, 389 relref links converted, 62 callouts converted (note/warning/alert).

security/vault.md's angle-bracket alert shortcode ({{< alert title="Important notes" >}}...{{</alert>}}) converted cleanly to > [!NOTE] Important notes with the list body intact — the malformed-looking {{</alert>}} closing tag (no space after /) matches migrate_shortcode_links.py's regex fine, unlike the known-broken {{</ warning >}}-with-a-space case from a prior ticket.

Gotcha instances found and hand-fixed: several list-nested callout indentation-loss cases across active-active/create-reaadb.md, active-active/monitoring-activeactive.md (Prometheus ServiceMonitor note), re-clusters/delete-custom-resources.md, security/allow-resource-adjustment.md, and security/authentication/_index.md/sso.md — all restored to their original list-item indentation on both the blockquote header and continuation lines, verified against the diff directly (indentation now matches the enclosing numbered/bulleted list step).

No no-slash relref concatenation or missing-close-paren relrefs found in this scope. No DEAD links found.

Verification

  • Built origin/main (before) and this branch (after) with Hugo — both succeeded, 19,642 pages each.
  • build/diff_rendered_hrefs.py scoped to each of the four directories: 0 href diffs across security (29 pages), reference (25 pages), active-active (8 pages), re-clusters (8 pages).
  • build/check_uncanonicalized_links.py over the four directories: 55 files scanned, FIXABLE=0, MOUNT_ONLY=0, DEAD=0.
  • Manually confirmed list-nested callout indentation is preserved for every instance found (see above).

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only link and callout syntax changes with no runtime or security logic; risk is limited to broken cross-links if path mapping is wrong, which the PR claims was verified with Hugo builds and link checks.

Overview
Unit 2 of the DOC-7120 render-hook migration updates 57 markdown files under operate/kubernetes active-active, re-clusters, reference, and security so they no longer rely on Hugo relref or note/warning/alert shortcodes.

Internal links now use explicit /content/... paths (including section anchors and _index.md where needed) instead of {{< relref "..." >}}. Admonitions are rewritten as GitHub-style blockquotes (> [!NOTE], > [!WARNING], etc.), with indentation preserved where callouts sat inside numbered or bulleted steps.

Procedural text, YAML examples, and embed-yaml shortcodes are unchanged; this is a linking and formatting migration for the new docs renderer, not a content rewrite.

Reviewed by Cursor Bugbot for commit 4ceb131. Bugbot is set up for automated code reviews on this repo. Configure here.

…re-clusters to render hooks

Mechanical conversion of relref and callout shortcodes to native Markdown
render hooks across content/operate/kubernetes/{security,reference,
active-active,re-clusters}/ via build/migrate_shortcode_links.py all.

Hand-fixed 10 list-nested callout instances across 7 files (vault.md x4,
allow-resource-adjustment.md, prepare-clusters.md, create-reaadb.md,
connect-to-admin-console.md, connect-prometheus-operator.md, sso.md) where
the script's callout-to-blockquote conversion put the continuation line's
original indentation on the wrong side of the blockquote marker (or
dropped it for single-line callouts), detaching the blockquote from its
enclosing numbered-list item.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7120

@github-actions

Copy link
Copy Markdown
Contributor

Staging links:
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/create-aa-crdb-cli/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/create-reaadb/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/edit-clusters/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/edit-rerc/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/global-config/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/global-db-secret/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/active-active/prepare-clusters/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/cluster-recovery/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/connect-prometheus-operator/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/connect-to-admin-console/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/delete-custom-resources/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/expand-pvc/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/re-clusters/multi-namespace/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/api/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/active-active/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/basic-deployment/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/log-collector-rbac/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/multi-namespace/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/reference/yaml/rack-awareness/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/manage-acls/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/manage-bindings/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/manage-roles/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/manage-users/
https://redis.io/docs/staging/DOC-7120-kubernetes-unit2/operate/kubernetes/security/access-control/migrate-rolespermissions/

@github-actions

Copy link
Copy Markdown
Contributor

@dwdougherty dwdougherty left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM.

@dwdougherty
dwdougherty merged commit 9f646d4 into main Sep 28, 2026
100 checks passed
@dwdougherty
dwdougherty deleted the DOC-7120-kubernetes-unit2 branch September 28, 2026 14:03
EliShteinman added a commit to EliShteinman/docs that referenced this pull request Sep 29, 2026
Converts relref and callout shortcodes in the Kubernetes security, reference, active-active and re-clusters pages to render hooks.
EliShteinman added a commit to EliShteinman/docs that referenced this pull request Sep 29, 2026
Converts relref and callout shortcodes in the Kubernetes security, reference, active-active and re-clusters pages to render hooks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants