DOC-7118 unit 2: convert rc api/cloud-integrations/context-engine to render hooks - #4119
Merged
Merged
Conversation
…render hooks
Migrates relref shortcode links and note/warning/tip/info callout
shortcodes to render-hook equivalents (plain Markdown links and
> [!NOTE] blockquotes) across content/operate/rc/api/,
content/operate/rc/cloud-integrations/, and content/operate/rc/context-engine/.
Ran build/migrate_shortcode_links.py's all-stages pass, then hand-fixed
two variants the mechanical converter can't parse: a `{{</ warning >}}`
closing tag with a space after the slash (vercel.md), and two note
callouts nested inside `1.` list items whose continuation lines lost
list indentation after conversion (aws-marketplace/_index.md,
gcp-marketplace/_index.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 724c066 |
This was referenced Sep 25, 2026
5 tasks
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
Part of the DOC-7118 render-hook migration series (continuing DOC-6909 → 7047 → 7055 → 7059 → 7074 → 7079 → 7080 → 7086 → 7089 → 7104), converting
content/operate/rc/(Redis Cloud). This unit coverscontent/operate/rc/api/,content/operate/rc/cloud-integrations/, andcontent/operate/rc/context-engine/— 31 files in scope.relrefshortcode links converted to plain Markdown links.note/warning/tip/info) converted to> [!TYPE]blockquotes.build/migrate_shortcode_links.py allon every file, then hand-fixed two variants the mechanical converter can't parse:content/operate/rc/cloud-integrations/vercel.md: a{{</ warning >}}closing tag with a space after the slash didn't match the converter's regex, leaving that callout unconverted. Normalized the closing tag and reran the converter.content/operate/rc/cloud-integrations/aws-marketplace/_index.mdandcontent/operate/rc/cloud-integrations/gcp-marketplace/_index.md: anotecallout nested inside a1.list item lost its continuation-line indentation after conversion, detaching it from the list. Re-indented the blockquote body to match the list item's continuation indent, and dropped a spurious empty>line caused by trailing whitespace before the original closing shortcode tag.build/check_uncanonicalized_links.py --fixscoped to the touched directories: 0 FIXABLE / 0 MOUNT_ONLY / 0 DEAD remain./operate/...or un-canonicalized/commandslinks left behind (checked directly; the API pages' legitimate bare/commandsreferences are expected and unaffected).Verification
Built
public/fromorigin/mainand from this branch withhugo --gc(no--minify, matching the documented pre-existing esbuild issue) and compared renderedhrefsets withbuild/diff_rendered_hrefs.py:operate/rc: 0 href diffs across all 278 compared pages.node_modulesbroke PostCSS the first time (fixed withnpm install), and one unrelated page (operate/rc/subscriptions/bring-your-own-cloud/iam-resources/aws-console) flickered in/out of two consecutive builds of the identicalaftertree — confirmed as pre-existing Hugo build nondeterminism, not something this change caused.References DOC-7118.
🤖 Generated with Claude Code
Note
Low Risk
Documentation-only shortcode-to-Markdown conversion with verified equivalent rendered links; no application or API behavior changes.
Overview
Continues the DOC-7118 render-hook migration for Redis Cloud docs under
api/,cloud-integrations/, andcontext-engine/(23 files touched).Internal links: Hugo
{{< relref "..." >}}shortcodes are replaced with plain Markdown links using/content/operate/...paths (including API reference anchors and section fragments).Callouts: Hugo
note/warning/infoshortcodes become GitHub-style blockquotes (> [!NOTE],> [!WARNING],> [!INFO]). A few spots were fixed manually where the converter missed a malformed closing tag (vercel.md) or list indentation for nested notes (AWS/GCP marketplace pages).Image, embed, and other shortcodes are unchanged. PR verification reports no rendered
hrefdiffs for the affectedoperate/rcpages.Reviewed by Cursor Bugbot for commit 724c066. Bugbot is set up for automated code reviews on this repo. Configure here.