DOC-7120 unit 7: convert kubernetes 7.8.6/ to render hooks - #4136
Merged
Merged
Conversation
Converts content/operate/kubernetes/7.8.6/ (frozen version snapshot) from relref/callout shortcodes to native Markdown render hooks, using build/migrate_shortcode_links.py's `all` stage plus hand-fixes for the recurring list-nested callout indentation bug seen in every prior unit of this ticket. - 215 relref links canonicalized to /content/<path>.md[#anchor] form. - 84 note/warning callouts converted to > [!NOTE]/[!WARNING] blockquotes. - 16 list-nested callout instances needed manual indentation fixes across 6 files (openshift-cli.md x6, old-index.md x3, quick-start.md x2, create-reaadb.md x2, connect-to-admin-console.md x1, collect-logs.md x1), plus one stray-4-space non-list note in connect-prometheus-operator.md dedented to 0 (matching the pattern found in every prior snapshot), and one trailing-whitespace-only continuation line cleaned up in upgrade/openshift-cli.md. - No relref no-slash-concatenation or missing-close-paren instances found in this snapshot. - check_uncanonicalized_links.py reports 0 FIXABLE, 0 MOUNT_ONLY, 3 pre-existing DEAD relref targets (unresolvable before and after this change) in old-index.md and old-getting-started-openshift-crdb.md. 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 bb1006d |
This was referenced Sep 28, 2026
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
Unit 7 of DOC-7120 (part of the DOC-6909 render-hook migration series). Converts every file under
content/operate/kubernetes/7.8.6/(a frozen version snapshot) fromrelref/callout shortcodes to native Markdown render hooks. Implementation-only — no rendered appearance or behavior change, per this ticket's explicit scoping decision for version snapshots.content/operate/kubernetes/7.8.6/(the other 18 —*_api.mdreference pages, the.tmpl/.patchtemplate files, and a handful of pages with no relref/callout syntax — were correctly no-ops)./content/<path>.md[#anchor]form.note/warningshortcodes to> [!NOTE]/> [!WARNING]blockquote form.Gotcha instances found and hand-fixed
The recurring list-nested callout indentation-loss bug (continuation/closing lines lose the enclosing list's indentation) turned up again, in an overlapping-but-not-identical file set vs. prior units, as expected:
deployment/openshift/openshift-cli.md— 6 instances (matches every prior snapshot).deployment/openshift/old-index.md— 3 list-nested instances (matches prior snapshots' count), entirely inside an unrendered{{% comment %}}...{{% /comment %}}block spanning the whole page body — converted anyway for consistency.deployment/quick-start.md— 2 instances (within the 2-3 range seen before).active-active/create-reaadb.md— 2 instances (matches prior snapshots).re-clusters/connect-to-admin-console.md— 1 instance (matches prior snapshots).logs/collect-logs.md— 1 instance (matches prior snapshots).re-clusters/connect-prometheus-operator.md— 1 stray 4-space indent, NOT inside a list (matches every prior snapshot) — dedented to 0 rather than preserved, since a 4-space indent outside a list is read as a code block by CommonMark.upgrade/openshift-cli.md(top-level, not list-nested, so not a correctness bug, just a cosmetic leftover from the shortcode's original trailing whitespace).No no-slash relref-concatenation instances and no missing-close-paren relref instances were found in this snapshot.
DEAD links found (not fixed, per instructions)
check_uncanonicalized_links.pyfound 3 pre-existing broken relref targets, unresolvable both before and after this change (confirmed the target paths don't exist anywhere in the repo):deployment/openshift/old-getting-started-openshift-crdb.md:48→/operate/platforms/openshift/_index.mddeployment/openshift/old-index.md:30→/operate/rs/installing-upgrading/hardware-requirements.mddeployment/openshift/old-index.md:333→/operate/rs/administering/creating-databases/_index.mdAll three are in
draft: true, hidden: truelegacy pages. Left as-is per instructions — not this migration's call to fix a content fact.Verification
origin/main(before) and this branch (after) built successfully (19,645 pages each).build/diff_rendered_hrefs.pyscoped tooperate/kubernetes/7.8.6: 62 vs 62 pages compared, 0 pages only-in-before, 0 only-in-after, 0 href set changes.build/check_uncanonicalized_links.pyscoped tocontent/operate/kubernetes/7.8.6/: 0 FIXABLE, 0 MOUNT_ONLY, 3 DEAD (pre-existing, noted above).Test plan
content/operate/kubernetes/AGENTS.md).🤖 Generated with Claude Code
Note
Low Risk
Documentation-only mechanical shortcode-to-Markdown conversion in a version snapshot; verified with Hugo build and href diff, no product or runtime impact.
Overview
Migrates the frozen Redis Enterprise for Kubernetes 7.8.6 doc tree from Hugo shortcodes to native Markdown so the site can use render hooks, without changing how pages should read or link.
Internal links: 215
relrefusages become explicit/content/...paths (with.mdand anchors where needed) across Active-Active, deployment, networking, upgrade, security, and related topics.Callouts: 84
note/warningshortcodes become GitHub-style> [!NOTE]and> [!WARNING]blockquotes, including list-nested cases that were hand-fixed for indentation (e.g. OpenShift CLI, quick-start, create-reaadb).Roughly 45 of 63 files under
content/operate/kubernetes/7.8.6/change; API reference and pages with no shortcodes are untouched. Hugo diff checks report no href changes; three pre-existing broken links on draft/hidden legacy OpenShift pages remain unchanged.Reviewed by Cursor Bugbot for commit bb1006d. Bugbot is set up for automated code reviews on this repo. Configure here.