1.0.0 • Published 8 months ago

@ver5/vitepress-plugin-sidebar v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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