A plugin that enhances Git-related features in VitePress.
vitepress-plugin-git provides Git metadata for VitePress pages, including—but not limited to—commit history, contributors, creation time, and last update time for specific files. It also offers a Vue component to display this information conveniently.
Install the package using your preferred package manager:
# npm
npm install vitepress-plugin-git
# yarn
yarn add vitepress-plugin-git
# pnpm
pnpm add vitepress-plugin-git
# bun
bun add vitepress-plugin-gitNote: Configuration documentation is coming soon.
- Inspired by
@vuepress/plugin-git, reimagined for VitePress. - Based on
@nolebase/vitepress-plugin-git-changelog, the predecessor of this project. - Implementation is largely based on @brc-dd's feedback in vitepress#330.