Skip to content

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

Merged
centosinfra-prod-github-app[bot] merged 1 commit into
packit:mainfrom
Nitjsefnie:fix/1087-toc-anchors
Jul 20, 2026
Merged

Fix dangling ToC anchors on dist-git-onboarding#1153
centosinfra-prod-github-app[bot] merged 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

@lbarcziova lbarcziova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@lbarcziova lbarcziova added the mergeit Merge via Zuul label Jul 20, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app
centosinfra-prod-github-app Bot merged commit ea53365 into packit:main Jul 20, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in Packit pull requests Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeit Merge via Zuul

Projects

Development

Successfully merging this pull request may close these issues.

Dangling ToC URL redirect

3 participants