-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
New Component: Table of Contents #357
Comments
Hi @endigo9740, I can take this one |
This is now ready to begin testing. You can preview here: This has been added to the DocShell layout in our documentation, which means it will appear on most pages. It'll auto-hide on pages that have no relevant headings though. Let me know if you come across any issues! |
@faiqali1 your comment doesn't give me much to go off of. I see you're trying to access a couple of the lower items on the page. The page can only scroll as far as it can scroll. If you run out of area it'll stop and that heading won't align with the top. Other than adding a ton of whitespace below the content there's not really a way around that. Please clarify if this is not the issue you're seeing. Thanks |
Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
We need a new table of contents. We'll immediately put it to use in the Skeleton docs site, but seems like a great addition to the library itself too. This will allow quick navigation on long pages with a lot of content.
Here's a mock of where it would live on the page:
Here's a full version of the page to compare:
Suggested features:
data-*
attributes on the headings to make the pairing process easierBeyond that, this is open ended. Additional features and such as welcome!
What type of pull request would this be?
New Feature
Any links to similar examples or other references we should review?
References (see the right side of the page)
The text was updated successfully, but these errors were encountered: