Fix broken anchors and links found by check-links --check-anchors - #1861
Open
marcleblanc2 wants to merge 1 commit into
Open
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
Amp-Thread-ID: https://ampcode.com/threads/T-01a07623-9d65-7356-96b8-2bebb31ffa5a Co-authored-by: Amp <amp@ampcode.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
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
#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 GitHub.#keyanchors dropped: those pages render the schema as a code block, so there are no per-key headings to link to.builtin/saml/openidconnectauth links now point at/admin/auth/builtin,/admin/auth/saml,/admin/auth#openid-connect.href="#"QuickLink placeholders on the Kubernetes pages now point at the page they describe.[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-up (not in this PR)
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.
Verify