update plugin configurations
This commit is contained in:
parent
0322d162d0
commit
f852f2da41
2 changed files with 19 additions and 5 deletions
|
@ -69,6 +69,20 @@ export default defineUserConfig({
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
themePlugins: {
|
||||
seo: {
|
||||
autoDescription: false,
|
||||
isArticle: () => false,
|
||||
},
|
||||
linksCheck: {
|
||||
build: "error",
|
||||
},
|
||||
mediumZoom: false,
|
||||
sitemap: {
|
||||
changefreq: "monthly",
|
||||
},
|
||||
},
|
||||
}),
|
||||
|
||||
plugins: [
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import { defaultTheme } from '@vuepress/theme-default'
|
||||
import { DefaultThemeOptions, defaultTheme } from "@vuepress/theme-default";
|
||||
|
||||
export const mkMyTheme = (options) => {
|
||||
export const mkMyTheme = (options: DefaultThemeOptions) => {
|
||||
// returns a theme object
|
||||
return {
|
||||
name: 'my-theme',
|
||||
name: "my-theme",
|
||||
|
||||
extends: defaultTheme(options),
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue