Repository navigation
Fix rotted external links and migrate the link-check skip marker - #2666
Merged
Merged
Conversation
A full Lychee run over the built site surfaced broken external links that
htmltest had masked with stale `refcache.json` entries. Fix them at the source:
- Hugo moved the theme under `theme/`, so repoint
`github.com/google/docsy/blob|tree/main/{layouts,assets,i18n,go.mod}` links to
`.../main/theme/...` (one `tree`-to-`blob` correction for a file link).
- Hugo restructured its documentation IA: update gohugo.io links whose anchors
were renamed or whose pages moved (for example `/getting-started/installing/`
to `/installation/`, `/variables/site/` to `/methods/site/`), linking
page-level where a section no longer has a 1:1 anchor.
- Update the Google SEO starter guide link (`beginner/` to `fundamentals/`, drop
a malformed `?hl=en/` parameter) and the Mermaid configuration link (dead
docsify page to `mermaid.js.org`).
The preceding commit fixes the externals that upstream restructures had broken, so the temporary exclude block that masked them (added with the Lychee switch to keep CI green) is no longer needed.
Standardize on the key=value skip marker ?link-check=no (clearer and extensible) over the older ?no-link-check, matching the convention used on opentelemetry.io. Swap the four content markers and the lychee.toml exclude regex together so the opt-out keeps working.
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.
Follow-up to the Lychee switch (#2665), landing the parked content fixes plus two small cleanups it unblocks.
theme/, Google SEO and Mermaid relocations).lychee.toml, now that those externals are fixed (it only existed to keep CI green until this lands).?no-link-checkto?link-check=no— key=value form, clearer and extensible, matching the convention used on opentelemetry.io; the four content markers and thelychee.tomlexclude regex are swapped together so the opt-out keeps working.Verified: full online link check is 0 errors;
check:formatandcheck:markdownclean.