DOC-7104: Migrate content/operate/rs/7.8/ (excl. references) to render hooks - #4099
Conversation
…r hooks Convert every relref and note/tip/warning/alert callout shortcode under content/operate/rs/7.8/ (clusters/, databases/, installing-upgrading/, monitoring/, networking/, security/, and the top-level pages) to the render-hook equivalents: plain Markdown links resolved by layouts/_default/_markup/render-link.html, and `> [!NOTE]` etc. blockquotes resolved by layouts/_default/_markup/render-blockquote.html. content/operate/rs/7.8/references/ is out of scope (unit 12, PR #4096). - Ran build/migrate_shortcode_links.py over the 171 in-scope files (932 relref, 153 callout shortcodes: 125 note, 26 warning, 2 tip, 0 alert; 153 files changed, 18 had nothing to convert). - Hand-fixed the by-far-most-common gotcha from prior units: callout shortcodes indented inside a list item lose their indentation on continuation/closing lines (not just the header), which detaches them from the enclosing <li> and can leave a stray whitespace-only `>` line. 28 files, 42 blocks affected. Fixed by re-indenting every continuation line to match its header's indent, and normalizing the trailing whitespace-only line to a bare indented `>`. - Fixed a pre-existing broken relref in databases/connect/troubleshooting-guide.md (the HGETALL link was missing its closing paren, `>}}:` instead of `>}}):` -- the same bug found in this exact file's 7.4 snapshot in the prior unit; did not recur in 7.8/references/ (unit 12) but does recur here). - Verified 0 rendered href diffs across all 435 pages under operate/rs/7.8 (including references/, untouched but in the fingerprint scope) via the patched build/diff_rendered_hrefs.py from DOC-7104-diff-hrefs-fix (not merged into this diff). - Spot-checked rendered <li> nesting for the indented-callout fixes (add-node.md's tip, create.md's 8-space-indented note inside a nested list) -- both match between before/after. Flagged, not fixed (pre-existing content facts, out of mechanical scope): new-features-redis-enterprise.md carries 6 relrefs that don't resolve to any real content page (/operate/rs/7.8/developing/crdbs, /operate/modules/{redisbloom,redisjson,redisearch}, /operate/rs/7.8/installing-upgrading/get-started-docker.md, /operate/rs/7.8/security/passwords-users-roles.md#setting-up-ldap) -- already broken before this migration and left equivalently broken after it (the page also has draft: true, so it never renders), per AGENTS.md "flag rather than decide." Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
🧠 Redis MemoryFound 7 related items from repository history (2 new this commit):
Memory updated at b2f1d53 |
dwdougherty
left a comment
There was a problem hiding this comment.
A few things to fix, but I'll go ahead and approve.
| Port 9443 is the default [port configuration]({{< relref "/operate/rs/7.8/networking/port-configurations#https://docs.redis.com/latest/rs/networking/port-configurations#ports-and-port-ranges-used-by-redis-enterprise-software" >}}). | ||
| {{< /note >}} | ||
| > [!NOTE] | ||
| > Port 9443 is the default [port configuration](/content/operate/rs/7.8/networking/port-configurations.md#https://docs.redis.com/latest/rs/networking/port-configurations#ports-and-port-ranges-used-by-redis-enterprise-software). |
| @@ -41,17 +41,17 @@ Enterprise is known for. | |||
|
|
|||
| Redis developed and certified these modules for use with Redis Enterprise Software: | |||
|
|
|||
| - [RedisBloom]({{< relref "/operate/modules/redisbloom" >}}) | |||
| - [RedisBloom](/operate/modules/redisbloom) | |||
| - Enables Redis to have a scalable bloom filter as a data type. Bloom | |||
| filters are probabilistic data structures that quickly determine if something is contained within a set. | |||
| - RedisGraph | |||
| - RedisGraph is the first queryable Property Graph database to use sparse | |||
| matrices to represent the adjacency matrix in graphs and linear algebra to query the graph. | |||
| RedisGraph uses [Cypher](https://www.opencypher.org/) as its query language. | |||
| - [RedisJSON]({{< relref "/operate/modules/redisjson" >}}) | |||
| - [RedisJSON](/operate/modules/redisjson) | |||
| - Now you have the convenience JSON as a built-in data type and easily | |||
| able to address nested data via a path. | |||
| - [RediSearch]({{< relref "/operate/modules/redisearch" >}}) | |||
| - [RediSearch](/operate/modules/redisearch) | |||
| - This module turns Redis into a distributed in-memory | |||
| full-text indexing and search beast. | |||
|
|
|||
| @@ -70,7 +70,7 @@ easily and quickly test several containers to build the scalable | |||
| and highly available cluster Redis Enterprise Software is famous for. | |||
|
|
|||
| For more information go to [quick start with Redis Enterprise Software | |||
| on Docker.]({{< relref "/operate/rs/7.8/installing-upgrading/get-started-docker.md" >}}) | |||
| on Docker.](/operate/rs/7.8/installing-upgrading/get-started-docker.md) | |||
|
|
|||
| ## LDAP integration | |||
|
|
|||
| @@ -81,4 +81,4 @@ accounts can be used for administering resources on the cluster via | |||
| command line, Rest API, or admin console. | |||
|
|
|||
| For more information see [LDAP | |||
| Integration]({{< relref "/operate/rs/7.8/security/passwords-users-roles.md#setting-up-ldap" >}}). | |||
| Integration](/operate/rs/7.8/security/passwords-users-roles.md#setting-up-ldap). | |||
…ix, malformed anchor (same as #4095) Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Fixed all three: the bare |
Summary
relrefandnote/tip/warning/alertcallout shortcode undercontent/operate/rs/7.8/(clusters/,databases/,installing-upgrading/,monitoring/,networking/,security/, and the top-level pages) to the render-hook equivalents.content/operate/rs/7.8/references/is out of scope (already done in unit 12, PR DOC-7104: Migrate content/operate/rs/7.8/references/ (incl. rest-api) to render hooks #4096).build/migrate_shortcode_links.pyover the 171 in-scope files: 932relref, 153 callout shortcodes (125 note, 26 warning, 2 tip, 0 alert). 153 files changed, 18 had nothing to convert.<li>and leaving a stray whitespace-only>line. 28 files, 42 blocks affected — fixed by re-indenting every continuation line to match its header's indent and normalizing the trailing blank line to a bare indented>.databases/connect/troubleshooting-guide.md: theHGETALLlink was missing its closing paren (>}}:instead of>}}):) — the same bug seen in this file's 7.4 snapshot in the prior unit.operate/rs/7.8(includingreferences/, untouched but in the fingerprint scope), using the patchedbuild/diff_rendered_hrefs.pyfromDOC-7104-diff-hrefs-fix(not merged into this diff — confirmedbuild/has no changes in this PR).Flagged, not fixed
new-features-redis-enterprise.mdcarries 6 relrefs that don't resolve to any real content page (/operate/rs/7.8/developing/crdbs,/operate/modules/{redisbloom,redisjson,redisearch},/operate/rs/7.8/installing-upgrading/get-started-docker.md,/operate/rs/7.8/security/passwords-users-roles.md#setting-up-ldap). These were already broken before this migration and are left equivalently broken after it. The page also hasdraft: true, so it never renders. Percontent/operate/rs/AGENTS.md"flag rather than decide" — out of mechanical scope.Test plan
build/migrate_shortcode_links.py allrun over all 171 in-scope files<li>nesting for indented-callout fixes (add-node.md's tip,create.md's nested-list note) matches before/after--minify, full site, foreground) both succeed except the known unrelatedjupyter-example/develop/clients/*error, reproducing identically on both sidesbuild/diff_rendered_hrefs.py(patched) reports 0 href diffs across all 435 pages underoperate/rs/7.8git diff --stat origin/main -- build/is empty (diff-hrefs fix not included in this PR)🤖 Generated with Claude Code
Note
Low Risk
Documentation-only link and callout syntax changes with zero rendered href diffs reported for the 7.8 tree; no runtime or product behavior changes.
Overview
This PR completes unit 13 of the RS 7.8 shortcode migration (excluding
references/, already migrated). Across clusters, databases, and related 7.8 pages, internalrelrefshortcodes become plain markdown links under/content/..., and Hugonote/tip/warningcallouts become GitHub-style> [!NOTE](and similar) blocks.The change is largely mechanical; reviewers should spot-check that list-nested callouts still render correctly after re-indentation fixes for continuation lines.
imageandembed-mdshortcodes are unchanged. Pre-existing broken links in draftnew-features-redis-enterprise.mdwere left as-is per team guidance.Reviewed by Cursor Bugbot for commit b2f1d53. Bugbot is set up for automated code reviews on this repo. Configure here.