-
-
Notifications
You must be signed in to change notification settings - Fork 833
Add frontmatter to hide page from sidebar autogeneration #441
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
Conversation
Signed-off-by: Lorenzo Lewis <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
🦋 Changeset detectedLatest commit: 618fbae The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for astro-starlight ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Super neat, left a few comments.
Hides this page from being included in an autogenerated sidebar group.
I wonder if we should somehow emphasize this is not a draft mode and that the page will still be generated. Or maybe it's already obvious and I'm a little bit paranoid ^^
Co-authored-by: HiDeoo <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
Signed-off-by: Lorenzo Lewis <[email protected]>
|
Got those changes in. RE: the phrasing, I tried to reference that it would hide it from any navigation/autogenerated sidebar in the docs so I feel like it avoids that confusion. But also open to any suggestions to adapt that. |
delucis
left a comment
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.
Looks good @lorenzolewis — thank you! Left some small comments, but implementation and testing all look spot on.
Co-authored-by: Chris Swithinbank <[email protected]>
Co-authored-by: Chris Swithinbank <[email protected]>
delucis
left a comment
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.
Thanks again @lorenzolewis! I think this looks good — we’ll get it out in the next minor release 🙌
Co-authored-by: HiDeoo <[email protected]> Co-authored-by: Chris Swithinbank <[email protected]>
What kind of changes does this PR include?
Description
sidebar > hiddento the frontmatter schema (defaults to false) that will skip adding that entry to any autogenerated sidebars