dotnet / dotnet/docfx

[Feature Request] Jump to appropriate section anchor for TOC member section links

Open
#9,631 0 comments 0 reactions 0 assignees View on GitHub
dotnet
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 11m
Merged PRs (30d)
10

Description

**Is your feature request related to a problem? Please describe.**
When clicking on a member section like, say, "Explicit Interface Implementations", it navigates to the class page but stays at the top of the page.

**Describe the solution you'd like**
The TOC section link should contain the # anchor of the member section heading on the class page, so it automatically scrolls down to it:

![image](https://github.com/dotnet/docfx/assets/1700111/61ac9188-2788-4057-b7d5-54c2b82a2d50)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.