nextra icon indicating copy to clipboard operation
nextra copied to clipboard

Possibility to remove section from TOC if the content isn't displayed

Open axelczk opened this issue 11 months ago • 1 comments

Hello,

I would like to know if there is a possibility to do not display title section in the TOC if the content isn't rendered on the page.

In my use case, we hide documentation section depending of the user right but the section is still displayed in the TOC of the page despite the content not visible on the page for the user.

Best regards

axelczk avatar Feb 27 '24 10:02 axelczk