From db43c8c789fe761490335d469a6e42d8bfd94918 Mon Sep 17 00:00:00 2001 From: Masterain Date: Mon, 5 Feb 2024 18:22:29 -0800 Subject: [PATCH] Update docs --- docs/.vuepress/config.ts | 1 + docs/.vuepress/public/css/vp-card-no-boarder.css | 8 ++++++++ docs/.vuepress/theme.ts | 2 ++ docs/zh/support-us.md | 15 +++++++++------ 4 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 docs/.vuepress/public/css/vp-card-no-boarder.css diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 999d4fde3..553482551 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,5 +1,6 @@ import { googleAnalyticsPlugin } from "@vuepress/plugin-google-analytics"; import { defineUserConfig } from "vuepress"; +// https://ecosystem.vuejs.press/zh/plugins/redirect.html import { redirectPlugin } from "vuepress-plugin-redirect"; import { addCustomElement, addViteConfig } from "vuepress-shared/node"; diff --git a/docs/.vuepress/public/css/vp-card-no-boarder.css b/docs/.vuepress/public/css/vp-card-no-boarder.css new file mode 100644 index 000000000..eacb16cfd --- /dev/null +++ b/docs/.vuepress/public/css/vp-card-no-boarder.css @@ -0,0 +1,8 @@ +.theme-hope-content{ + .vp-tabs{ + border: None; + } + .vp-tabs-nav{ + background: None; + } +} \ No newline at end of file diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index 0ac14d5a1..fb017154f 100644 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -289,6 +289,8 @@ export default hopeTheme({ }, }, + // https://ecosystem.vuejs.press/zh/plugins/feed/ + // https://theme-hope.vuejs.press/zh/config/plugins/feed.html feed: { rss: true, }, diff --git a/docs/zh/support-us.md b/docs/zh/support-us.md index f579a9f3c..72c30ff91 100644 --- a/docs/zh/support-us.md +++ b/docs/zh/support-us.md @@ -6,13 +6,16 @@ icon: iconfont icon-like index: false head: - style: - type: text/css - content: | - .theme-hope-content{ - vp-tabs{ - border: None; + type: text/css + content: | + .theme-hope-content{ + .vp-tabs{ + border: None; + } + .vp-tabs-nav{ + background: None; + } } - } --- # 支持我们