1
This commit is contained in:
1 parent
1fe8673f62
commit
6adbc04d4b
12814 files changed
+2522618
No files matched your search
+26
@@ -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;
|
||||
Reference in new issue
Block a user