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

How do i add table of contents in a regular page? #4030

Open
hichemfantar opened this issue Jan 24, 2025 · 4 comments · May be fixed by #4082
Open

How do i add table of contents in a regular page? #4030

hichemfantar opened this issue Jan 24, 2025 · 4 comments · May be fixed by #4082

Comments

@hichemfantar
Copy link

I tried enabling toc in the meta file on pages like https://nextra.site/about but it's not doing anything

@hichemfantar
Copy link
Author

hichemfantar commented Jan 25, 2025

got it to work by nesting inside a folder and renaming the file to index

@hichemfantar
Copy link
Author

hichemfantar commented Jan 25, 2025

@dimaMachina why is it not possible to enable the toc without nesting the page into a folder?

@hichemfantar hichemfantar reopened this Jan 25, 2025
@hichemfantar
Copy link
Author

hichemfantar commented Jan 25, 2025

now i have to deal with this problem of having unnecessary index buttons

Image

@hichemfantar
Copy link
Author

@dimaMachina any plans to tackle this because it's very annoying

is it atleast possible to render a group directly as a link if there's only one link inside?

@hichemfantar hichemfantar linked a pull request Jan 27, 2025 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant