Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ToC when one or less elements #708

Open
D3V-D opened this issue Apr 3, 2025 · 1 comment · May be fixed by #710
Open

Remove ToC when one or less elements #708

D3V-D opened this issue Apr 3, 2025 · 1 comment · May be fixed by #710

Comments

@D3V-D
Copy link

D3V-D commented Apr 3, 2025

ToC is irrelevant when only one item (or, sometimes 0-in which case it's an annoyance). Should be as simple as checking how many items we have in the ToC and then choosing whether to show it or not.

@Jaifroid Jaifroid added this to the Release 3.6.0 milestone Apr 4, 2025
@Jaifroid
Copy link
Member

Jaifroid commented Apr 4, 2025

Thanks for noticing that. Yes, should be simple not to display it if >= 1 element.

@Jainex17 Jainex17 linked a pull request Apr 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants