You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto-generate VitePressnav and sidebar configurations.
✨ Features
Use primary folder as nav and secondary folder and files as sidebar
Automatic refresh after changing plugin configuration or frontmatter.
Support for customizing read ranges (based on srcDir and srcExclude configurations).
Support to customize whether the index.md under the sub-folder is displayed separately or by clicking the folder name.
Support for customizing the display name, articles also support the first level of the title as the name.
Support for customizing the sorting method
Support for customizing hidden files or folders
Supports both plugin options and article frontmatter configurations to customize article configurations (configured attribute names also support adding prefixes).
Support for using the same GitbookSUMMARY.md file as the sidebar configuration.
🕯️ Usage
Install
# Installing vite is recommended when using ts, otherwise you will get type errors.
pnpm i vite-plugin-vitepress-auto-nav vite -D