-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feat: JavaScript Docs display order, tags, split-layout #15440
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
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
86481fd to
26f7e78
Compare
Bundle ReportChanges will increase total bundle size by 11.94kB (0.05%) ⬆️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: sentry-docs-server-cjsAssets Changed:
view changes for bundle: sentry-docs-client-array-pushAssets Changed:
|
32663b2 to
26f7e78
Compare
- Move apis.mdx from /common/ to /common/configuration/ - Move sampling.mdx from /common/configuration/ to /common/ - Add redirects for both old paths to maintain existing links This reorganization improves the documentation structure by: - Placing APIs documentation with other configuration topics - Elevating sampling to a top-level concept (not just a config option) All existing URLs will automatically redirect to the new locations.
- Move Logs to sidebar_order: 2 (add 'new' badge) - Move Metrics to sidebar_order: 3 (add 'beta' badge) - Move Session Replay to sidebar_order: 4 - Move Tracing to sidebar_order: 5 (add section separator) This reorders the navigation to prioritize newer features (Logs, Metrics) higher in the sidebar for better discoverability.
- Rename 'Configuration' to 'Advanced Configuration' for clarity - Add explicit sidebar_title - Move to sidebar_order: 100 to position at end of navigation This helps differentiate basic setup from advanced configuration topics.
26f7e78 to
408a1d8
Compare
| description: "Learn more about APIs of the SDK." | ||
| customCanonicalTag: "/platforms/javascript/apis/" | ||
| sidebar_order: 3 | ||
| sidebar_order: 1 |
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.
Bug: Missing Sidebar Section Causes Placement Issues
The apis.mdx file is missing the sidebar_section frontmatter field. All other pages in the diff have been assigned to either features or configuration sections, but this page will appear as unsectioned, potentially placing it in an unexpected sidebar position. Given its location under configuration/ and being at sidebar_order: 1, it likely should have sidebar_section: configuration.
Uh oh!
There was an error while loading. Please reload this page.