fix(admin): restore proper anchor IDs for APCu, Redis and Memcached sections#14907
Merged
Conversation
ea9d453 to
21f64c0
Compare
APCu, Redis, and Memcached h2 headings on the memory caching page were generating non-descriptive IDs (id1, id2, ...) instead of the expected anchors (apcu, redis, memcached). Adding explicit RST reference labels ensures stable, predictable fragment URLs. Also fix a double-space typo in the existing _install_redis_label directive that made it malformed RST. Fixes #6878 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
21f64c0 to
0eae533
Compare
miaulalala
approved these changes
May 19, 2026
Contributor
📖 Documentation Preview📄 1 changed documentation pageLast updated: Wed, 20 May 2026 00:42:08 GMT |
Member
Author
|
/backport to stable34 |
Member
Author
|
/backport to stable33 |
Member
Author
|
/backport to stable32 |
This was referenced May 20, 2026
Merged
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.
☑️ Resolves
Summary
The APCu, Redis, and Memcached section headings on the memory caching page were generating
non-descriptive HTML IDs (
id1,id2, ...) instead of the expected anchors(
#apcu,#redis,#memcached). This broke direct links to those sections.Root cause: the bullet-list entries at the top of the page used named external hyperlink
references (
`APCu <url>`_). A trailing single underscore in RST creates a namedtarget — consuming "apcu", "redis", and "memcached" before the section headings are
processed. Sphinx then falls back to sequential IDs (
id1,id2, …) for the headings.Fix: change those three inline links to anonymous references (double underscore
`APCu <url>`__). Anonymous refs do not register a named target, so the sectionheadings can claim the correct IDs.
Before:
caching_configuration.html#id1,#id2After:
caching_configuration.html#apcu,#redis,#memcached🖼️ Screenshots
No visual layout change — heading text is unchanged, only anchor IDs are fixed.
✅ Checklist
codespellor similar and addressed any spelling issues