-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: Add navigation section separator component #15436
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
- Add section_end_divider frontmatter field - Add SidebarSeparator component to render horizontal dividers - Add separator styles (.sidebar-separator) - Update dynamicNav to render separators after items with section_end_divider - Update platformSidebar to map section_end_divider from frontmatter This allows documentation pages to add visual separators in the sidebar by setting section_end_divider: true in their frontmatter, helping to visually group related navigation sections.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bundle ReportChanges will decrease total bundle size by 1.43kB (-0.01%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-client-array-pushAssets Changed:
view changes for bundle: sentry-docs-server-cjsAssets Changed:
Files in
|
Resolved conflicts by combining sidebar separator feature with beta/new badge features: - Added section_end_divider field alongside beta/new fields in Node type - Kept beta/new badge rendering in sidebar links - Merged CSS styles for both badge types and separator - Both features are now compatible and working together
e4340ba to
e846669
Compare
This allows documentation pages to add visual separators in the sidebar by setting section_end_divider: true in their frontmatter, helping to visually group related navigation sections.