Skip to content

fix(docs): enable fragment navigation and anchor linking (#3291) #3303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ccmelvin
Copy link

@ccmelvin ccmelvin commented Aug 4, 2025

  • Add fragment handling in the app component for direct URL navigation
  • Fix TOC anchor navigation with smooth scrolling
  • Enable sharing of direct links to specific sections

Fixes #3291

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Feature
  • Docs

What is the current behavior?

Fragment navigation (e.g., /some-page#section) doesn't work as expected.
TOC links jump abruptly or don't scroll properly.

What is the new behavior?

  • URL fragments now scroll to the correct section on page load
  • Users can copy and share links to specific sections
  • Clicking TOC entries scrolls smoothly to the section

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This improves UX when navigating long docs pages and referencing specific sections.

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.

Documentation for Mongo is missing something.
2 participants