Repository navigation
DOC-7120 unit 2: convert kubernetes security/reference/active-active/re-clusters to render hooks - #4131
Merged
Conversation
…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>
Contributor
Contributor
Contributor
🧠 Redis MemoryFound 5 related items from repository history (5 new this commit):
Memory updated at 4ceb131 |
4 tasks done
2 tasks
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Converts
content/operate/kubernetes/security/,reference/,active-active/, andre-clusters/(57 files) fromrelref/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-bracketalertshortcode ({{< alert title="Important notes" >}}...{{</alert>}}) converted cleanly to> [!NOTE] Important noteswith the list body intact — the malformed-looking{{</alert>}}closing tag (no space after/) matchesmigrate_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, andsecurity/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
origin/main(before) and this branch (after) with Hugo — both succeeded, 19,642 pages each.build/diff_rendered_hrefs.pyscoped to each of the four directories: 0 href diffs acrosssecurity(29 pages),reference(25 pages),active-active(8 pages),re-clusters(8 pages).build/check_uncanonicalized_links.pyover the four directories: 55 files scanned, FIXABLE=0, MOUNT_ONLY=0, DEAD=0.🤖 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/kubernetesactive-active, re-clusters, reference, and security so they no longer rely on Hugorelrefornote/warning/alertshortcodes.Internal links now use explicit
/content/...paths (including section anchors and_index.mdwhere 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-yamlshortcodes 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.