-
Notifications
You must be signed in to change notification settings - Fork 22.6k
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
feat(glossary): add sidebar to Glossary pages #26985
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding this unmaintainable chunk, we should add a new macro to Yari. The current implementation is not performant as the sidebar height grows with the section's size (and this section is meant to grow steadily). We should implement the sidebar as automatically categorized by initial letter and collapsed under <details>
.
Yes, this is better. I was hoping to avoid adding more macros, but this is an exception.
The linked PR does a 1:1 implementation of the current Glossary sidebar, there will be generic sidebar improvements coming soon (filtering). If this PR lands, I would look into collapsing alphabetically like you suggested, but this will be a follow-up for now. |
This pull request has merge conflicts that must be resolved before it can be merged. |
Description
This PR adds the glossary sidebar to sub-pages
Motivation
This should improve discoverability and allow readers to find other terms