Skip to content

DOC-7128 rs-1: convert unversioned rs/ images - #4170

Merged
andy-stark-redis merged 1 commit into
mainfrom
DOC-7128-rs-1
Oct 1, 2026
Merged

andy-stark-redis merged 1 commit into
mainfrom
DOC-7128-rs-1

Conversation

@andy-stark-redis

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

Copy link
Copy Markdown
Contributor

Note: I've skimmed these visually and there don't seem to be any broken images. Perhaps just a random check of a few bits here and there is enough for the review.

Summary

Converts the image shortcodes in the unversioned (current) content/operate/rs/ pages to Markdown images, using the codemod from #4151. Sub-unit 1 of 5 for rs/ in DOC-7128. Frozen version snapshots are in scope, as in DOC-7104, because the conversion changes the source but not the rendered output.

The five rs/ PRs share no files, are each based on main, and can merge in any order.

Counts: 121 images converted in 56 files. 15 shortcodes in these files stay as shortcodes, because the codemod can't convert them safely (mostly inline button icons, plus several images on one line and images that share a paragraph with text). They're listed on the ticket for a separate decision.

rs/databases/active-active/develop/ is also mounted into rc/, so this PR changes those rc/ pages too. The build comparison covered them, and they show no image differences.

Expected rendered change: 1 alt text on networking/private-public-endpoints loses Markdown emphasis markers, for example **Configuration section** becomes Configuration section. The shortcode put the asterisks into the alt attribute literally, so screen readers read them out.

Verification

  • All five rs/ sub-units were merged into one temporary tree, built alongside current main under the production baseURL (/docs/latest/), and compared image by image (src/width/alt/class) on every page. Both builds succeeded (19,664 pages), and the hook reported no missing images.
  • Across all five, the only difference is 7 alt texts losing emphasis markers. Every converted image keeps an identical src, width, and class. For this PR, that means 1 alt text on networking/private-public-endpoints change.
  • The codemod deleted exactly one line per converted shortcode (121) and touched no file outside this sub-unit.
  • AI Markdown feed for operate/: no attribute lines and no relative /images/ links remain, and the same 1,751 absolute image URLs appear before and after.

🤖 Generated with Claude Code


Note

Low Risk
Documentation-only markup migration with verified equivalent image rendering; no runtime or security impact.

Overview
Sub-unit 1 of 5 for DOC-7128: replaces 121 Hugo {{< image >}} / {{<image >}} shortcodes with standard Markdown ![alt](path) across 56 unversioned content/operate/rs/ pages (codemod from #4151). Screenshot paths are normalized to absolute /images/rs/... URLs; former width shortcode attributes become separate {width="..."} attribute lines where needed.

Unchanged by design: inline UI control shortcodes (e.g. vertical actions and delete buttons) and other shortcodes the codemod skips (~15 in this slice) stay as Hugo shortcodes.

Rendered output: builds were compared image-by-image; aside from one alt text on networking/private-public-endpoints losing literal ** markers (shortcode alt had emphasis as characters, not rendered bold), src / width / class match. Active-Active develop/ content also feeds rc/ and was included in that check.

Scope: documentation markup only—no product or API behavior changes.

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

Runs build/migrate_image_shortcodes.py over 56 files, converting 121 image
shortcodes to Markdown images. 15 shortcodes the codemod can't convert
safely stay as shortcodes. Sub-unit 1 of 5 for content/operate/rs/.

Ticket: DOC-7128
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7128

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Staging links:
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/add-node/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/configure/license-keys/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/configure/rack-zone-awareness/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/logging/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/maintenance-mode/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/optimize/memtier-benchmark/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/optimize/wait/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/clusters/remove-node/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/causal-consistency/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/connect/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/create/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/develop/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/get-started/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/active-active/manage/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/configure/db-defaults/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/configure/db-tags/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/configure/replica-ha/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/configure/shard-placement/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/connect/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/connect/test-client-connectivity/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/create/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/durability-ha/consistency/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/flash/quickstart/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/import-export/migrate-to-active-active/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/import-export/replica-of/create/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/memory-performance/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/databases/memory-performance/shard-placement-policy/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/flex/get-started/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/installing-upgrading/quickstarts/docker-quickstart/
https://redis.io/docs/staging/DOC-7128-rs-1/operate/rs/installing-upgrading/upgrading/upgrade-active-active/

@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
andy-stark-redis merged commit f6631a7 into main Oct 1, 2026
100 checks passed
@andy-stark-redis
andy-stark-redis deleted the DOC-7128-rs-1 branch October 1, 2026 14:48
EliShteinman added a commit to EliShteinman/docs that referenced this pull request Oct 1, 2026
Converts 121 image shortcodes in the unversioned Redis Software pages to Markdown images.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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