From f852f2da410a6a7263eb29b9770ec0efb32db815 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Thu, 25 Jul 2024 16:11:58 +0300 Subject: [PATCH] update plugin configurations --- docs/.vuepress/config.ts | 14 ++++++++++++++ docs/.vuepress/theme.ts | 10 +++++----- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 21737b3..b728ea5 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -69,6 +69,20 @@ export default defineUserConfig({ }, }, }, + + themePlugins: { + seo: { + autoDescription: false, + isArticle: () => false, + }, + linksCheck: { + build: "error", + }, + mediumZoom: false, + sitemap: { + changefreq: "monthly", + }, + }, }), plugins: [ diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index c93f4d2..797ffa6 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -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), - } -} + }; +};