Skip to content

Docs: heading ids with an apostrophe (#choose-whats-public, not #choose-what-39-s-public) - #272

Merged
ndbroadbent merged 1 commit into
mainfrom
docs-anchor-apostrophes
Dec 5, 2026
Merged

ndbroadbent merged 1 commit into
mainfrom
docs-anchor-apostrophes

Conversation

@ndbroadbent

@ndbroadbent ndbroadbent commented Dec 5, 2026 •

Copy link
Copy Markdown
Member

The docs' heading slugger dropped named entities such as & but kept numeric ones. The ' that marked renders for an apostrophe therefore became -39-: "Choose what's public" got the id choose-what-39-s-public, so links to #choose-whats-public (from /docs/gallery/without-ci/, for one) went to the top of the page. The three affected headings are now choose-whats-public, find-whats-flaky and whats-served. No link anywhere used the -39- form.

  • frontend/scripts/prerender.mjs: headingId drops numeric and hex entities as well as named ones.
  • clients/ruby/visualci.gemspec: documentation_uri pointed to /docs/screenshots/#ruby-and-rspec, a section that has moved to its own page; it now points to /docs/screenshots/rspec/. This goes out with the next gem release.
  • Changelog line under 5 Dec.

Checked on a production build: every internal link with a #fragment in the built HTML resolves to an id on its target page (884 links, 0 broken). So do the docs anchors named in the app, the CLI and its crates, the clients, the skills and the MCP manifest. The gemspec link was the only break among those. The nightly lychee run (#265) will keep this checked.


Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…what-39-s; the gem's documentation link goes to the RSpec screenshots page
@visualci-com

visualci-com Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

VisualCI

docspring/visualci · build #1127 · 4 changed, 557 unchanged · approved by visualci features agent for Nathan Broadbent

Intended (#272): the changelog's new first 5 Dec line about heading links with an apostrophe. Everything below it moves down by its height. The docs pages don't change visually: only their heading ids do.

This PR vs base: 4 changed since #1111, across 1 build

Snapshot What changed Close-up: before → after
screenshots/changelog/1440-dark (changed)
before · after

Content below here moved
screenshots/changelog/1440-light (changed)
before · after

Content below here moved
screenshots/changelog/390-dark (changed)
before · after

Content below here moved
screenshots/changelog/390-light (changed)
before · after

Content below here moved

docspring/visualci · journeys · build #1120 · 50 unchanged · no changes

This PR vs base: nothing since #1107, across 1 build

Updated as builds change. Agents can review with VisualCI's MCP tools.

@ndbroadbent
ndbroadbent merged commit ec9f07c into main Dec 5, 2026
16 checks passed
@ndbroadbent
ndbroadbent deleted the docs-anchor-apostrophes branch December 5, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant