Fix broken anchors and links found by check-links --check-anchors - #1861
Closed
marcleblanc2 wants to merge 1 commit into
Closed
Fix broken anchors and links found by check-links --check-anchors#1861marcleblanc2 wants to merge 1 commit into
marcleblanc2 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
marcleblanc2
commented
Sep 7, 2026
| - [Other](/admin/auth/saml/generic) | ||
|
|
||
| For advanced SAML configuration options, see the [`saml` auth provider documentation](/admin/config/site-config#saml). | ||
| For advanced SAML configuration options, see the [`saml` auth provider documentation](/admin/auth/saml). |
Contributor
Author
There was a problem hiding this comment.
This link is intended to go do the site config schema section for saml, but that's broken because the site config schema is a JSON blob, and markdown headers aren't supported inside a giant JSON blob.
Linking instead to the saml docs page is not the intended path, but I'm not sure what else to do here.
marcleblanc2
marked this pull request as draft
September 7, 2026 22:06
marcleblanc2
force-pushed
the
fix-broken-links-and-anchors
branch
2 times, most recently
from
September 7, 2026 22:09
41564a1 to
09fac9a
Compare
Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-01a07623-9d65-7356-96b8-2bebb31ffa5a
marcleblanc2
force-pushed
the
fix-broken-links-and-anchors
branch
from
September 7, 2026 22:22
09fac9a to
2e551e4
Compare
This was referenced Sep 7, 2026
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.
Linear FE-499: Fix doc site issues
Original all-in-one PR, being split into per-bucket PRs under FE-499 for easier review: #1864 (mechanical slug drift), #1865 (dead sections), #1866 (moved pages), #1867 (markup), #1868–#1872 (reworded headings, by docs area). Kept for reference until the batch lands; not meant to merge. Fixes every broken internal link and
#anchorreported bynpm run check-links -- --check-anchors(the checker from #1858, with its fence-stripping and duplicate-route fixes). 123 files, links only, no prose rewrites beyond a few unlinked phrases.What changed (buckets of broken links)
#index-jobs→#index_jobs,#kubernetes→#kubernetes-helm,#nginx-ssl-https-configuration→#nginx-sslhttps-configuration, alert/dashboard slugs with underscores,#Literal-search-default→#keyword-search-default, etc.)/admin/faq#…→/self-hosted/faq#…, docker-compose anchors →/self-hosted/deploy/docker-compose/{configuration,operations}, kustomize file anchors →/self-hosted/deploy/kubernetes/kustomize#step-3-set-up-the-configuration-files,#template/#base→ the deploy-sourcegraph-k8s directories on GitHubhref="#"QuickLink placeholders[search.largeF[iles](...)andThe o)rderin technical-changelog.mdx;`"true```/`"*```inline code in batch-spec-yaml-reference.mdx (these stray backticks also broke the checker's fence tracking); stray"in an anchor in kubernetes/troubleshoot.mdx.Follow-ups (not in this PR)
1 - Links into the site-config / code-host JSON schema (
/admin/config/site-config#search.largeFiles,/admin/code-hosts/github#rateLimit, …) are left as-is: the schema renders as a code block with no per-key anchors, so the fix belongs in the site, not the docs. The checker still reports these 24 anchors.2 - Three routes have two source files, and the site serves the first one glob order returns; the other is unreachable:
cli/references/auth:auth.mdx(served) vsauth/index.mdx(richer, links subcommands)cli/references/codeowners: same patternself-hosted/deploy/kubernetes/kustomize:kustomize.mdx(served) vskustomize/index.mdx(concept doc, shadowed since 2024)Each pair should be merged or one deleted. Reported in Slack thread.
Verify
Amp threads