Skip to content

DOC-7079: Migrate content/integrate/ cloud and infra integrations to render hooks - #4035

Merged
andy-stark-redis merged 1 commit into
mainfrom
DOC-7079-cloud-infra
Sep 17, 2026
Merged

andy-stark-redis merged 1 commit into
mainfrom
DOC-7079-cloud-infra

Conversation

@andy-stark-redis

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

Copy link
Copy Markdown
Contributor

Summary

Migrates 12 of the 14 files in this unit's directories off Hugo relref link shortcodes and note/warning/tip/info/alert callout shortcodes onto native Hugo render hooks, using build/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.

  • Files changed: 12 of 14 candidate files (heroku-redis/_index.md and railway-redis/_index.md had zero relref/callout shortcodes to convert, confirmed both before and after).
  • relref shortcodes converted: 36 (across the 14 candidate files; 0 remain in any file, verified by post-conversion grep).
  • callout shortcodes converted: 3, all in pulumi-provider-for-redis-cloud/_index.md (0 remain, verified by post-conversion grep).
  • No leftover /commands exception needed — no unresolved /commands links were left behind by linkify.

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 (the CloudAccount resource note and the GetCloudAccount function 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

  • Built this branch and a clean origin/main baseline (via git archive, with node_modules, data/examples.json, and examples/ 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 under integrate/ (before and after both produced 619 pages).
  • Diffed the full warning/error output of both builds (normalized for path prefix): identical — 0 new warnings, and no warnings touch any file in this unit.
  • Confirmed the note-nesting fix in rendered HTML as described above.

Anomalies

  • The migration script's callout indentation bug (described above) was hit and hand-fixed, matching the ticket's flagged edge case.
  • An unrelated pre-existing build gap: this worktree lacked the gitignored data/examples.json / examples/ build artifacts and node_modules, causing full-site Hugo builds to fail on unrelated jupyter-example/PostCSS pages. Worked around by copying these from the primary checkout; no content changes were needed to fix it.
  • No /commands-link exception was needed in this unit.

Test plan

  • Post-conversion grep for relref and {{<...(note|warning|tip|info|alert) across all 14 candidate files: 0 matches.
  • Hand-verified indentation fix in pulumi-provider-for-redis-cloud/_index.md source.
  • Hugo build of both branches; diff_rendered_hrefs.py shows 0 href diffs across integrate/.
  • Warning-log diff between before/after builds: identical.
  • Rendered-HTML check confirming both fixed notes nest inside their <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 Hugo relref shortcodes 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.

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]>
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7079

@github-actions

Copy link
Copy Markdown
Contributor

Staging links:
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/aws-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/azure-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/confluent-with-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/docker-redis-enterprise/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/gcp-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/kubernetes-redis/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/pulumi-provider-for-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/pulumi-provider-for-redis-cloud/get-started/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/redisinsight/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/terraform-provider-for-redis-cloud/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/terraform-provider-for-redis-cloud/get-started/
https://redis.io/docs/staging/DOC-7079-cloud-infra/integrate/vercel-redis/

@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.

@andy-stark-redis

Copy link
Copy Markdown
Contributor Author

Thanks for your reviews on all these @dwdougherty !

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