Repository navigation
DOC-7055: Migrate develop/data-types/probabilistic to render hooks - #3966
Merged
Merged
Conversation
…ed callouts The DOC-6909 note/warning/tip/info/alert -> `> [!TYPE]` blockquote converter only matched the angle-bracket `{{< note >}}` form. The percent-delimited `{{% note %}}` form, and a `title=` attribute on any of them, went unconverted -- previously an accepted gap (rare: ~3 known instances in the whole develop/clients/ rollout). data-types alone has 3 in one section (timeseries/configuration.md's bare `{{% warning %}}`, probabilistic/hyperloglogs.md's `{{% alert title="Note" color="warning" %}}`, vector-sets/_index.md's `{{< alert title="Try it out" >}}`), so it's now worth generalizing rather than hand-fixing per unit. Verified against the three real target cases (converted exactly as expected, color= silently dropped since the render hook has no color concept) plus five already-known bare-angle cases (byte-identical output, no regression). Not in scope here: content/develop/clients/redis-py and lettuce each carry 1-2 of the same unconverted percent-alert leftovers from DOC-7047 -- this fix would also resolve those, but that's a separate, already-merged section's cleanup, not this ticket's. Ticket: DOC-7055 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Convert relref-wrapped links to plain markdown links and note/warning/alert callout shortcodes to GitHub-style blockquote alerts, using build/migrate_shortcode_links.py (all stage: relref-to-plain, callouts, then linkify). bloom-filter.md had no shortcodes to convert. Ticket: DOC-7055
Contributor
Contributor
🧠 Redis MemoryFound 9 related items from repository history (4 new this commit):
Memory updated at cd17fde |
Contributor
This was referenced Sep 10, 2026
dwdougherty
reviewed
Sep 10, 2026
|
|
||
| Redis is also able to perform the union of HLLs, please check the | ||
| [full documentation]({{< relref "/commands#hyperloglog" >}}) for more information. | ||
| [full documentation](/commands#hyperloglog) for more information. |
Collaborator
There was a problem hiding this comment.
I didn't expect this link to work, but it did. 👏🏻
Base automatically changed from
DOC-7055-callout-percent-form-support
to
main
September 10, 2026 14:03
Review on #3967 flagged two coexisting ways to select a group on the commands index page. The `?group=` query string is the mechanism the page's filter JS actually reads (url.searchParams); a bare `#anchor` only works via a one-time compat shim that rewrites hash to query on load. It's also the dominant form site-wide (46 files vs. 4). Standardizing on ?group= here. Ticket: DOC-7055 Co-Authored-By: Claude Sonnet 5 <[email protected]>
Contributor
Author
|
Thanks @dwdougherty ! |
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
content/develop/data-types/probabilistic/(unit B of DOC-7055) from Hugo shortcodes to native-Markdown render hooks, usingbuild/migrate_shortcode_links.py all.{{< relref "..." >}}links converted to plain](/content/...)links;{{< note >}}/{{< warning >}}/{{% alert title="Note" color="warning" %}}converted to> [!NOTE]/> [!WARNING]blockquote alerts.bloom-filter.mdhad no shortcodes to convert, so it's unchanged.Stacked on #3965 (percent-form/attributed-callout support in the migration script) — base is that branch, not
main, so this doesn't have to wait for it to merge. GitHub will retarget automatically once #3965 merges.Test plan
configuration.md(2 notes + 1 warning, bare angle-bracket) andhyperloglogs.md({{% alert title="Note" color="warning" %}}→ bare> [!NOTE], redundant title dropped,color=silently dropped as expected).hugo --minifybuild before/after;python3 build/diff_rendered_hrefs.pyscoped todevelop/data-types/probabilisticreports zero href differences (8 vs 8 pages, 0 changed)./commands/cf.reserve/index.htmlJS minification) and one unrelated warning (clients/go/vecsets.md, from concurrent parallel-unit activity) appear on both sides.hyperloglogs.md— it sits between a<ul>and a<p>, not adjacent to the page'sclients-examplewidget, so no spacer fix was needed.Note
Low Risk
Documentation-only link and callout rewrites in one content subtree; PR validation reports unchanged rendered hrefs for that scope.
Overview
Migrates
content/develop/data-types/probabilistic/from Hugo shortcodes to native Markdown render hooks: internal{{< relref ... >}}links become canonical/content/...paths, and{{< note >}}/{{< warning >}}/{{% alert ... %}}callouts become> [!NOTE]/> [!WARNING]blockquotes (including the percent-form alert inhyperloglogs.md, with redundant default titles dropped).build/migrate_shortcode_links.pyis extended so the callout stage accepts{{<and{{%delimiters, optional attributes such astitle=, mapsalertto the note alert type, and documents that behavior—supporting the automatedallmigration used on this section.Reviewed by Cursor Bugbot for commit cd17fde. Bugbot is set up for automated code reviews on this repo. Configure here.