-
Notifications
You must be signed in to change notification settings - Fork 332
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
poc: [M3-7799] - Improve Docs Site Sidebar #10214
poc: [M3-7799] - Improve Docs Site Sidebar #10214
Conversation
Coverage Report: β
|
docs/.vitepress/tsconfig.json
Outdated
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.
Had to create this so I could call replaceAll
in docs/.vitepress/plugins/sidebar.ts
sidebar: [ | ||
{ | ||
text: "Development Guide", | ||
items: guides, | ||
}, | ||
], |
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 having to do this manually, it will be done automatically based on the folder/file names πποΈ
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.
Nice changes!
confirmed dynamic sidebar works as expected and build succeeds β
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.
@mjac0bs What you sent in the screenshot doesn't look quite right. π€ The title in the sidebar should be You'll have to restart the VitePress server for the sidebar to regenerate when you checkout my PR. |
Description π
docs/
folder ποΈPreview π·
How to test π§ͺ
docs/development-guide/example/testing.md
with some markdown in ityarn docs
http://localhost:5173/manager/
As an Author I have considered π€