dotnet / dotnet/docfx

Feature Request: Collapse/Expand sections in API reference

Open
#2,049 4 comments 1 reaction 0 assignees View on GitHub
template
Dominant language
C#
Stars
4.4k
Forks
890
Avg merge
2h 9m
Merged PRs (30d)
11

Description

**DocFX Version Used**: 2.23

**Template used**: `default`

When navigating to a namespace (for example: https://tzachshabtay.github.io/MonoAGS/api/AGS.API.html), I would like to have `Classes`, `Structs`, `Interfaces`, `Enums` and whatever other sections might be there as collapsible/expandable sections.

Similarly, when navigating to an interface/class/struct (for example: https://tzachshabtay.github.io/MonoAGS/api/AGS.API.IAnimation.html), I would like to have `Properties`, `Methods` and whatever other sections might be there as collapsible/expandable sections.

Thank you.

Contributor guide

Open the contributing guide

Research direction

Start by examining the default template's generated API reference pages, using the linked namespace and interface examples as entry points. Verify how namespace sections and type-member sections are rendered, then confirm that both kinds of pages can collapse and expand their sections consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.