update plugin configurations

This commit is contained in:
Dmitriy Pleshevskiy 2024-07-25 16:11:58 +03:00
parent 0322d162d0
commit f852f2da41
Signed by: pleshevskiy
GPG key ID: 17041163DA10A9A2
2 changed files with 19 additions and 5 deletions

View file

@ -69,6 +69,20 @@ export default defineUserConfig({
}, },
}, },
}, },
themePlugins: {
seo: {
autoDescription: false,
isArticle: () => false,
},
linksCheck: {
build: "error",
},
mediumZoom: false,
sitemap: {
changefreq: "monthly",
},
},
}), }),
plugins: [ plugins: [

View file

@ -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 // returns a theme object
return { return {
name: 'my-theme', name: "my-theme",
extends: defaultTheme(options), extends: defaultTheme(options),
} };
} };