Skip to content

fix/links: Fix broken link markup (5 lines) - #1867

Open
marcleblanc2 wants to merge 1 commit into
mainfrom
fix-link-markup
Open

fix/links: Fix broken link markup (5 lines)#1867
marcleblanc2 wants to merge 1 commit into
mainfrom
fix-link-markup

Conversation

@marcleblanc2

@marcleblanc2 marcleblanc2 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Linear FE-499: Fix doc site issues

Smaller, more easily reviewed subset of fixes from #1861

Markup, not link targets:

  • docs/batch-changes/batch-spec-yaml-reference.mdx: `"true``` and `"*``` — a stray backtick broke the inline code and swallowed the rest of the line
  • docs/technical-changelog.mdx: a stray ) in "o)rder" left over from a mangled link
  • docs/self-hosted/deploy/kubernetes/configure.mdx, operations.mdx: <QuickLink href="#"> placeholders now point at the page they describe

Review: render the two batch-spec lines on the preview and confirm the inline code closes where it should.

Checker findings (npm run check-links -- --check-anchors, from #1858, with its heading-slug fix): 278 on main → 276 on this branch.

Verification

The docs site serves its not-found page with HTTP 200 (fix in progress), so status codes prove nothing. Instead, every changed link was fetched on this PR's Vercel preview and the rendered HTML checked for two ids: the target page's own first heading (taken from its MDX source — the 404 page never has it) and the link's #fragment. Script: node dev/verify-links-live.mjs --site <preview-url>, coming in #1858.

Old links point at the current production site so you can see the breakage; new links point at the preview and land on the heading.

Checked 2 changed links against https://sourcegraph-docs-git-fix-link-markup-sourcegraph-f8c71130.vercel.app: 2 resolve, 0 fail.
Page rendered = the target page's first heading id is present (the 404 page never has it); Anchor = the #fragment is an id on the page. Old links point at the current site.

All 2 links
File containing the link Old link (broken today) New link (preview) Page rendered Anchor found
docs/self-hosted/deploy/kubernetes/configure.mdx # /self-hosted/deploy/kubernetes/configure
docs/self-hosted/deploy/kubernetes/operations.mdx # /self-hosted/deploy/kubernetes/operations

Amp threads

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sourcegraph-docs Ready Ready Preview Sep 7, 2026 11:26pm UTC

Request Review

@marcleblanc2 marcleblanc2 changed the title Fix broken link markup (5 lines) fix/links: Fix broken link markup (5 lines) Sep 9, 2026
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