@ver5/vitepress-plugin-sidebar
v1.0.0
Published
a vitePress plugin that automatically configures and manages the sidebar of your page
Maintainers
Readme
vitepress-pluign-sidebar
Automatically generate directory navigation based on the current file and directory structure
Install
pnpm add -D @ver5/vitepress-plugin-sidebar
Usage
import { getSideBar } from '@ver5/vitepress-plugin-sidebar'
options
:
ignoreDirs: [],
indexLink: "index",
ignoreFiles: ["index"],
collapsed: true,
sortBy(path): boolean,
handle(item): void
Credits
https://github.com/luciozhang/vitepress-plugin-autobar