Skip to content

DOC-7128 rc-rdi: convert rc/rdi/ images - #4191

Merged
andy-stark-redis merged 1 commit into
mainfrom
DOC-7128-rc-rdi
Oct 2, 2026
Merged

andy-stark-redis merged 1 commit into
mainfrom
DOC-7128-rc-rdi

Conversation

@andy-stark-redis

@andy-stark-redis andy-stark-redis commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Converts the image shortcodes in content/operate/rc/rdi/ to Markdown images, using the codemod from #4151. Part of DOC-7128. rdi/ was deferred from the main rc/ rollout (#4164–#4169) while Terraform/dashboards work was in flight. That work has since been postponed.

Counts: all 51 images converted in 5 files. None needed skipping, so rc/rdi/ has no image shortcodes left in its own pages. All 51 bare paths (images/...) were rewritten to site-root /images/.... There are no raw <img> tags in this tree.

Rendered changes: none, apart from the dropped <a sdata-lightbox> wrapper.

Overlap with other branches: three other branches touch these files.

I test-merged each one with this branch, and each merges cleanly, just as it does with main. So they can land in any order.

Verification

  • Built main and this branch under the production baseURL (/docs/latest/): both succeeded (19,664 pages), and the hook reported no missing images.
  • Compared src/width/alt/class for every image on every page: no differences.
  • Coverage: rendered sdata-lightbox wrappers in rc/rdi/ drop by exactly 51 (63 to 12), so every converted image was on a published page and the comparison saw it. The 12 still rendering come from RDI embeds these pages include, which DOC-7128 embeds-oss: convert embeds/ and oss_and_stack/ images #4189 converts.
  • The codemod deleted exactly one line per converted shortcode (51) and touched no file outside the list.
  • AI Markdown feed for rc/rdi/: the same 63 absolute image URLs before and after, with no attribute lines and no relative /images/ links.

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only markup migration in RDI guides; no application or infrastructure code changes.

Overview
Replaces all 51 Hugo {{<image ...>}} shortcodes in content/operate/rc/rdi/ with standard Markdown images plus a separate {width="..."} attribute line, across five pages (create-workspace, define, quick-start, setup, view-edit).

Each figure now uses ![alt](/images/rc/rdi/...) instead of a relative images/... path. Alt text and widths are preserved; prose and other shortcodes are unchanged. Per the author’s verification, rendered output should match except that the sdata-lightbox wrapper from the old shortcode is no longer emitted.

Reviewed by Cursor Bugbot for commit efb7338. Bugbot is set up for automated code reviews on this repo. Configure here.

Runs build/migrate_image_shortcodes.py over the 5 files in
content/operate/rc/rdi/ that use the image shortcode, converting all 51 to
Markdown images (51 bare paths rewritten to site-root /images/...). None
needed skipping, and there are no raw <img> tags in this tree. rdi/ was
deferred from the main rc/ rollout while Terraform/dashboards work was in
flight; that work has since been postponed.

Three other branches touch these files: #4187 (DOC-7118 unit 7, links and
callouts in the same five files), #4085 (Cloud RDI pipeline capacity), and the
postponed DOC-7111 branch. Each merges cleanly with this branch, as it does
with main, so they can land in any order.

Ticket: DOC-7128
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7128

@github-actions

github-actions Bot commented Oct 2, 2026

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.

LGTC.

@andy-stark-redis
andy-stark-redis merged commit a1920c5 into main Oct 2, 2026
100 checks passed
@andy-stark-redis
andy-stark-redis deleted the DOC-7128-rc-rdi branch October 2, 2026 13:54
@andy-stark-redis

Copy link
Copy Markdown
Contributor Author

@dwdougherty Thanks to both of you!

EliShteinman added a commit to EliShteinman/docs that referenced this pull request Oct 3, 2026
Converts the Redis Cloud RDI image shortcodes to Markdown images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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