Pages without subheadings still display a table of contents #3251
alvinometric
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
|
(Sorry for the slow response on this one — still catching up after some time working on other projects.) Interesting point — not something I’d run into before as I don’t think I’ve ever worked on a page without subheadings. It is already possible to disable on a per-page basis using the ---
title: Page with no table of contents
tableOfContents: false
---So I guess this is about what should happen by default. Would you expect the entire right sidebar to vanish if there are no subheadings? Or keep the layout with the right sidebar but without the TOC? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlightare you using?latest
What is your idea?
Files that don't have headings display a table of contents with only "Overview."
This is a counter-intuitive behaviour, I don't think I've seen it anywhere else
Why is this feature necessary?
I think we should disable this, or at least let the user disable it via a config. If it's already possible then let's document this.
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions