docs: fix broken #ttl-and-one-shot-jobs anchor links#58
Merged
Conversation
Two links pointed to /deployments/configuration/#ttl-and-one-shot-jobs, which doesn't exist: the heading is 'TTL and one-shot jobs — `ttl`', and Hugo slugifies the '— `ttl`' suffix too, so the real id is 'ttl-and-one-shot-jobs--ttl'. The old links silently landed at the top of the page instead of the section. Repoint both (types.md, static-sites.md) to the build-confirmed id. Verified with a Hugo build (v0.161.1): the generated heading id is ttl-and-one-shot-jobs--ttl, and a build-based sweep of every anchor link in the docs now reports zero broken.
|
Preview deleted (PR closed). |
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.
What
Two links targeted
/deployments/configuration/#ttl-and-one-shot-jobs, but that anchor doesn't exist. The heading is:Hugo slugifies the whole heading, including the
—ttl`` suffix, so the actual generated id isttl-and-one-shot-jobs--ttl(note the `--`). The old links silently landed at the top of the Configuration page instead of the TTL section.Repointed both links to the correct id:
content/deployments/types.mdcontent/deployments/static-sites.mdVerification
id="ttl-and-one-shot-jobs--ttl".Docs only; link text unchanged.