dotnet / dotnet/docfx

[Question] Hide elements from API toc while still generating pages

Open
#7,274 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

**Operating System**: Windows

**Template used**: `discordfx`

I have looked everywhere and couldn't find an answer : Is it possible to hide some elements from the sidebar (just like `apiRules` does) while still generating the pages for these elements ?

My particular use case is to hide delegates from the sidebar, as they kinda bloat the whole thing and are still accessible via a link on events definitions inside some classes.

An example is here, where I have 2 classes total but 7 entries total which is an inconvenience for me and my team.

![image](https://user-images.githubusercontent.com/29918611/113767395-ec0cb180-971e-11eb-9584-d9020e4975f0.png)

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.