Skip to content

docs(server): fix camelCase anchor links in TOC#6530

Merged
jean-michelet merged 7 commits intofastify:mainfrom
Deepvamja:fix/improve-server-md-toc
Mar 10, 2026
Merged

docs(server): fix camelCase anchor links in TOC#6530
jean-michelet merged 7 commits intofastify:mainfrom
Deepvamja:fix/improve-server-md-toc

Conversation

@Deepvamja
Copy link
Copy Markdown
Contributor

Fixes #6161

The TOC in Server.md contained camelCase anchor links that don't match
markdown's auto-generated lowercase anchors, causing broken navigation.

Changes:

  • #loggerInstance#loggerinstance
  • #addHttpMethod#addhttpmethod
  • #setGenReqId#setgenreqid

@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 24, 2026
Copy link
Copy Markdown
Member

@Tony133 Tony133 left a comment

Choose a reason for hiding this comment

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

The correct method is setGenReqId, not setgenreqid.

Deepvamja and others added 4 commits February 25, 2026 08:50
Co-authored-by: Antonio Tripodi <Tony133@users.noreply.github.com>
Signed-off-by: deepvamja <143236575+Deepvamja@users.noreply.github.com>
Co-authored-by: Antonio Tripodi <Tony133@users.noreply.github.com>
Signed-off-by: deepvamja <143236575+Deepvamja@users.noreply.github.com>
@Deepvamja
Copy link
Copy Markdown
Contributor Author

"Hi, I've addressed all the review comments. Could you please take another look when you get a chance? Thank you!"

@Deepvamja
Copy link
Copy Markdown
Contributor Author

"Hi, I've addressed all the review comments. Could you please take another look when you get a chance? Thank you!"

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the documentation TOC anchors in docs/Reference/Server.md so internal links correctly jump to their sections (fixing broken navigation caused by mismatched anchor casing).

Changes:

  • Fix TOC link target for loggerInstance to match the generated anchor (#loggerinstance).
  • Fix TOC link target for setGenReqId to match the generated anchor (#setgenreqid).
  • (Currently) changes the setGenReqId section heading text to lowercase.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@Deepvamja
Copy link
Copy Markdown
Contributor Author

Thanks for the feedback! It looks like the link-check workflow failures are caused by pre-existing links in other documentation files rather than the changes in this PR. This PR only updates the TOC anchors in Server.md. Please let me know if you'd like me to adjust anything further.

@Fdawgs Fdawgs changed the title docs: fix camelCase anchor links in Server.md TOC docs(server): fix camelCase anchor links in TOC Mar 6, 2026
@Fdawgs Fdawgs requested a review from Uzlopak March 6, 2026 07:59
@Deepvamja
Copy link
Copy Markdown
Contributor Author

Hi @Fdawgs @gurgunday @Tony133!

This PR has 3 approvals from maintainers with write access.
The only failing check is the Internal Links checker which
is caused by pre-existing broken links in other files —
completely unrelated to the 3-line change in this PR.

Could someone merge this when you get a chance? Happy to
address any additional feedback!

@jean-michelet jean-michelet merged commit e02d602 into fastify:main Mar 10, 2026
9 of 10 checks passed
@jean-michelet
Copy link
Copy Markdown
Member

Don't think such a doc edit needs additional review, I merge.

@Fdawgs
Copy link
Copy Markdown
Member

Fdawgs commented Mar 10, 2026

@jean-michelet I requested Uzlopak as he made the original PR, so was awaiting his blessing.

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

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants