Repository navigation
DOC-7079: Migrate content/integrate/ cloud and infra integrations to render hooks - #4035
Merged
Merged
Conversation
Convert relref link shortcodes and note/warning/tip/info/alert callout shortcodes to native render hooks across the cloud, infra, and IaC integration pages: aws-redis-cloud, azure-redis-cloud, gcp-redis-cloud, docker-redis-enterprise, kubernetes-redis, heroku-redis, railway-redis, vercel-redis, pulumi-provider-for-redis-cloud, terraform-provider-for-redis-cloud, redisinsight, and confluent-with-redis-cloud. Continues the DOC-6909/7047/7059/7074 site-wide rollout using build/migrate_shortcode_links.py. heroku-redis and railway-redis had no relref/callout shortcodes to convert. Hand-fixed the migration script's known indentation bug on the two list-nested {{<note>}} callouts in pulumi-provider-for-redis-cloud/_index.md, where the converter stranded the original 4-space list indentation after the blockquote's `> ` marker instead of before it, detaching the note from its list item under CommonMark. Verified via rendered HTML that both notes now nest inside their enclosing <li>. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Contributor
Contributor
🧠 Redis MemoryFound 5 related items from repository history (5 new this commit):
Memory updated at 75a26fd |
Contributor
Author
|
Thanks for your reviews on all these @dwdougherty ! |
This was referenced Sep 18, 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
Migrates 12 of the 14 files in this unit's directories off Hugo
relreflink shortcodes andnote/warning/tip/info/alertcallout shortcodes onto native Hugo render hooks, usingbuild/migrate_shortcode_links.py all. Continues the DOC-6909/DOC-7047/DOC-7059/DOC-7074 site-wide rollout. Content-only change — no template changes.Directories covered:
aws-redis-cloud,azure-redis-cloud,gcp-redis-cloud,docker-redis-enterprise,kubernetes-redis,heroku-redis,railway-redis,vercel-redis,pulumi-provider-for-redis-cloud,terraform-provider-for-redis-cloud,redisinsight,confluent-with-redis-cloud.content/integrate/redis-data-integration/(RDI) is untouched, as scoped.heroku-redis/_index.mdandrailway-redis/_index.mdhad zero relref/callout shortcodes to convert, confirmed both before and after).pulumi-provider-for-redis-cloud/_index.md(0 remain, verified by post-conversion grep)./commandsexception needed — no unresolved/commandslinks were left behind bylinkify.Known edge case handled
The migration script has a known indentation bug: for a callout nested inside a list item, it prefixes every blockquote body line with
>but doesn't restore the callout's own leading whitespace, stranding the list-item indentation after the>marker instead of before it — breaking CommonMark's blockquote-in-list-item nesting.Two of the three converted callouts in
pulumi-provider-for-redis-cloud/_index.md(theCloudAccountresource note and theGetCloudAccountfunction note) were nested this way. Hand-fixed both so every line of each blockquote (the[!NOTE]line and the body line) carries the original 4-space indentation before the>marker.Verified by grepping the rendered HTML output of a real Hugo build: both notes render as an
<div class="alert">block closing with</div></li>, i.e. nested inside the enclosing<li>, not as a sibling top-level block.Build-diff verification
origin/mainbaseline (viagit archive, withnode_modules,data/examples.json, andexamples/copied in from the primary checkout to avoid unrelated false-positive diffs from missing generated artifacts).python3 build/diff_rendered_hrefs.py <before> <after> integrate: 0 href diffs across all 619 pages underintegrate/(before and after both produced 619 pages).Anomalies
data/examples.json/examples/build artifacts andnode_modules, causing full-site Hugo builds to fail on unrelatedjupyter-example/PostCSS pages. Worked around by copying these from the primary checkout; no content changes were needed to fix it./commands-link exception was needed in this unit.Test plan
relrefand{{<...(note|warning|tip|info|alert)across all 14 candidate files: 0 matches.pulumi-provider-for-redis-cloud/_index.mdsource.diff_rendered_hrefs.pyshows 0 href diffs acrossintegrate/.<li>.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only link and callout syntax changes with verified equivalent rendered hrefs; no application or security logic affected.
Overview
Migrates cloud and infrastructure integration docs under
content/integrate/from Hugorelrefshortcodes to native markdown links (/content/...) so internal links go through Hugo render hooks. Affected areas include AWS/Azure/GCP Redis Cloud, Docker, Kubernetes, Vercel, Confluent, Redis Insight, and the Pulumi/Terraform provider pages (including get-started guides).On
pulumi-provider-for-redis-cloud/_index.md, three{{<note>}}callouts become> [!NOTE]blockquotes; two notes nested inside list items were hand-adjusted so indentation keeps the alert inside the list item when rendered.Content-only—no template changes. Build verification reported no href diffs under
integrate/.Reviewed by Cursor Bugbot for commit 75a26fd. Bugbot is set up for automated code reviews on this repo. Configure here.