Skip to content

docs: fix broken #ttl-and-one-shot-jobs anchor links#58

Merged
acoshift merged 1 commit into
mainfrom
docs-fix-ttl-anchor
Jun 28, 2026
Merged

docs: fix broken #ttl-and-one-shot-jobs anchor links#58
acoshift merged 1 commit into
mainfrom
docs-fix-ttl-anchor

Conversation

@acoshift

Copy link
Copy Markdown
Member

What

Two links targeted /deployments/configuration/#ttl-and-one-shot-jobs, but that anchor doesn't exist. The heading is:

## TTL and one-shot jobs — `ttl`

Hugo slugifies the whole heading, including the ttl`` suffix, so the actual generated id is ttl-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.md
  • content/deployments/static-sites.md

Verification

  • Built the docs with Hugo (v0.161.1 extended) and confirmed the heading renders as id="ttl-and-one-shot-jobs--ttl".
  • Ran a build-based sweep of every anchor link in the docs against the actual generated heading IDs: these two were the only broken ones, and after the fix the sweep reports zero broken anchors.

Docs only; link text unchanged.

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.
@deploys-app deploys-app Bot temporarily deployed to pr-58 June 28, 2026 23:13 Destroyed
@deploys-app

deploys-app Bot commented Jun 28, 2026

Copy link
Copy Markdown

Preview deleted (PR closed).

@acoshift acoshift merged commit 7dadfb3 into main Jun 28, 2026
1 check passed
@acoshift acoshift deleted the docs-fix-ttl-anchor branch June 28, 2026 23:40
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