Repository navigation
Fix the AGENTS.md Template Offer link in the built user guide - #52
Merged
Merged
Conversation
Pandoc keeps the dot in the heading id (agents.md-template-offer) while GitHub drops it (agentsmd-template-offer), so the two internal links were broken in the HTML/PDF. An explicit anchor with the GitHub-style id makes the links resolve in both. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The change adds the explicit cross-format anchor while preserving existing links and documentation structure, with no active review issues recorded.
No open issues 🎉
What changed in this PR
This PR fixes broken user-guide links to the AGENTS.md Template Offer section in generated HTML and PDF output by adding an explicit anchor compatible with both GitHub and Pandoc-generated identifiers.
Changes:
- Added the
agentsmd-template-offeranchor before the relevant heading. - Preserved the existing links and documentation structure.
| File | Description |
|---|---|
| docs/user_guide/introduction.md | Adds the explicit anchor used by internal links to the AGENTS.md Template Offer section. |
Review effort: Lite
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.
The user guide links to
#agentsmd-template-offertwice. GitHub generates that id for the heading AGENTS.md Template Offer, but Pandoc keeps the dot (agents.md-template-offer), so WeasyPrint reportedNo anchor #agentsmd-template-offerand the links were dead in the HTML/PDF. An explicit<a id="agentsmd-template-offer"></a>before the heading makes the links work in both. Verified: Pandoc + WeasyPrint build with no anchor warning; LintMark clean.