From c27d7050bcae9ba3cb82103cd263fc47558a1cf7 Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Thu, 26 Oct 2023 22:25:48 +0800 Subject: [PATCH 1/2] feat: update deps --- docs/.vuepress/components/AdPage.vue | 17 +- docs/.vuepress/components/HomePage.vue | 2 +- docs/.vuepress/components/NormalPage.vue | 4 +- docs/.vuepress/components/Sidebar.vue | 22 - docs/.vuepress/config.ts | 29 +- docs/.vuepress/layouts/Layout.vue | 4 +- docs/.vuepress/navbar.ts | 192 +- docs/.vuepress/public/html/showside.html | 6 +- docs/.vuepress/public/html/showside_en.html | 14 +- docs/.vuepress/public/js/ad.js | 39 +- docs/.vuepress/styles/index.scss | 52 +- docs/.vuepress/theme.ts | 8 +- docs/README.md | 1 - docs/en/guide/faq.md | 9 +- docs/en/guide/getstarted/start.md | 4 +- docs/en/guide/history.md | 18 +- docs/en/guide/introduce.md | 2 +- docs/en/guide/script.md | 29 +- docs/en/guide/whatsnew.md | 11 +- docs/guide/faq.md | 5 +- docs/guide/getstarted/start.md | 4 - docs/guide/history.md | 17 +- docs/guide/introduce.md | 2 +- docs/guide/script.md | 31 +- docs/guide/sponsorList.md | 4 +- docs/guide/teachingVideo.md | 2 +- docs/guide/whatsnew.md | 11 +- package.json | 20 +- pnpm-lock.yaml | 4287 ++++++++----------- 29 files changed, 2083 insertions(+), 2763 deletions(-) delete mode 100644 docs/.vuepress/components/Sidebar.vue diff --git a/docs/.vuepress/components/AdPage.vue b/docs/.vuepress/components/AdPage.vue index 79ceb4ccc..5c1c9815d 100644 --- a/docs/.vuepress/components/AdPage.vue +++ b/docs/.vuepress/components/AdPage.vue @@ -1,23 +1,24 @@ \ No newline at end of file + diff --git a/docs/.vuepress/components/HomePage.vue b/docs/.vuepress/components/HomePage.vue index 4f5da67f4..7337715cb 100644 --- a/docs/.vuepress/components/HomePage.vue +++ b/docs/.vuepress/components/HomePage.vue @@ -8,4 +8,4 @@ \ No newline at end of file + diff --git a/docs/.vuepress/components/NormalPage.vue b/docs/.vuepress/components/NormalPage.vue index 1e4cb0bf7..c0c0b1acc 100644 --- a/docs/.vuepress/components/NormalPage.vue +++ b/docs/.vuepress/components/NormalPage.vue @@ -7,5 +7,5 @@ \ No newline at end of file +import AdPage from "./AdPage.vue"; + diff --git a/docs/.vuepress/components/Sidebar.vue b/docs/.vuepress/components/Sidebar.vue deleted file mode 100644 index a14e95d5f..000000000 --- a/docs/.vuepress/components/Sidebar.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - \ No newline at end of file diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 6a8317074..c635cf903 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -6,8 +6,6 @@ import theme from "./theme.js"; const __dirname = getDirname(import.meta.url); export default defineUserConfig({ - - title: "Fast Request", description: "Intellij Restful Fast Request", @@ -20,7 +18,7 @@ export default defineUserConfig({ }, ], ["script", { src: "//at.alicdn.com/t/c/font_2601581_dhvis4jtn7m.js" }], - ["script", { src: "/js/baidu.js" }], + ["script", { src: "/js/baidu.js" }], // ["script", { src: "https://cdn.wwads.cn/js/makemoney.js" }], ], @@ -74,18 +72,17 @@ export default defineUserConfig({ __dirname, "./layouts/Layout.vue", ), - // "@theme-hope/components/HomePage": path.resolve( - // __dirname, - // "./components/HomePage.vue" - // ), - // "@theme-hope/components/NormalPage": path.resolve( - // __dirname, - // "./components/NormalPage.vue" - // ), - // "@theme-hope/modules/sidebar/components/Sidebar": path.resolve( - // __dirname, - // "./components/Sidebar.vue" - // ), + // "@theme-hope/components/HomePage": path.resolve( + // __dirname, + // "./components/HomePage.vue" + // ), + // "@theme-hope/components/NormalPage": path.resolve( + // __dirname, + // "./components/NormalPage.vue" + // ), + // "@theme-hope/modules/sidebar/components/Sidebar": path.resolve( + // __dirname, + // "./components/Sidebar.vue" + // ), }, - }); diff --git a/docs/.vuepress/layouts/Layout.vue b/docs/.vuepress/layouts/Layout.vue index 5bc0ea9e3..c6b617a70 100644 --- a/docs/.vuepress/layouts/Layout.vue +++ b/docs/.vuepress/layouts/Layout.vue @@ -8,7 +8,7 @@ import NormalPage from "@theme-hope/components/NormalPage"; import SkipLink from "@theme-hope/components/SkipLink"; import FadeSlideY from "@theme-hope/components/transitions/FadeSlideY"; -import type { ThemePageFrontmatter } from "../../shared/index.js"; +import type { ThemePageFrontmatter } from "vuepress-theme-hope"; const page = usePageData(); const frontmatter = usePageFrontmatter(); @@ -54,7 +54,7 @@ ${sidebarTopArray.slice(0, 4).join("\n ")} `; - } + }, );