This commit is contained in:
hellcat committed 2025-10-03 17:17:08 +08:00
1 parent 1fe8673f62
commit 6adbc04d4b
12814 files changed
+2522618

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
import type { Plugin } from 'vuepress/core';
import type { GitPluginOptions } from './options.js';
/**
* Git plugin
*
* Git 插件
*
* @param [options={}] - Plugin options / 插件选项
*
* @example
* ```ts
* import { gitPlugin } from '@vuepress/plugin-git'
*
* export default {
* plugins: [
* gitPlugin({
* createdTime: true,
* updatedTime: true,
* contributors: true,
* changelog: false
* })
* ]
* }
* ```
*/
export declare const gitPlugin: ({ createdTime, updatedTime, contributors, changelog, filter, transformContributors, locales, }?: GitPluginOptions) => Plugin;