Skip to content

Fix dangling ToC anchors on dist-git-onboarding#1153

Open
Nitjsefnie wants to merge 1 commit into
packit:mainfrom
Nitjsefnie:fix/1087-toc-anchors
Open

Fix dangling ToC anchors on dist-git-onboarding#1153
Nitjsefnie wants to merge 1 commit into
packit:mainfrom
Nitjsefnie:fix/1087-toc-anchors

Conversation

@Nitjsefnie

Copy link
Copy Markdown
Contributor

Summary

Fixes #1087.

The hand-written table of contents on docs/fedora-releases-guide/dist-git-onboarding.md links #configuration-file and #monitoring-of-the-package, but the actual headings are "1. Configuration file" and "2. Monitoring of the package" — Docusaurus slugs those with the leading number, so the real anchors are #1-configuration-file and #2-monitoring-of-the-package (verified against the rendered page: the id= attributes on packit.dev are 1-configuration-file / 2-monitoring-of-the-package). The two ToC entries now point at the real anchors.

The other five ToC entries resolve correctly and are untouched.

AI assistance disclosure

This PR was prepared with AI assistance (Claude); the anchor IDs were verified against the live rendered page before the change.

The hand-written table of contents linked #configuration-file and #monitoring-of-the-package, but the headings are '1. Configuration file' and '2. Monitoring of the package', which Docusaurus slugs as packit#1-configuration-file and packit#2-monitoring-of-the-package (verified against the rendered page). Point the two ToC entries at the real anchors.

Fixes packit#1087.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Dangling ToC URL redirect

2 participants