From 7c090a4c7e9b4a5b60421bd654c5d053c5ffa655 Mon Sep 17 00:00:00 2001 From: liyuan97 Date: Fri, 1 Mar 2024 17:43:35 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=BF=A1=E6=81=AF=E9=80=82=E9=85=8D=E5=AE=98?= =?UTF-8?q?=E7=BD=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.ts | 6 +++--- docs/.vuepress/styles/index.scss | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index b0be210..c76e133 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -13,9 +13,9 @@ const __dirname = getDirname(import.meta.url) export default defineUserConfig({ lang: 'zh-CN', title: 'MicroApp', - base: '/micro-app-docs/', + base: '/doc/', description: '一款简约、高效、功能强大的微前端框架', - head: [['link', { rel: 'icon', href: '/micro-app-docs/images/logo.png' }]], + head: [['link', { rel: 'icon', href: '/doc/images/logo.png' }]], bundler: viteBundler({ vuePluginOptions: { template: { @@ -32,7 +32,7 @@ export default defineUserConfig({ repo: 'https://github.com/micro-zoe/micro-app', /* edit doc */ - docsRepo: 'https://github.com/CrystalAngelLee/micro-app-docs', + docsRepo: 'https://github.com/micro-zoe/doc', docsBranch: 'master', docsDir: 'docs', /* edit doc */ diff --git a/docs/.vuepress/styles/index.scss b/docs/.vuepress/styles/index.scss index 82bbae8..7a61df4 100644 --- a/docs/.vuepress/styles/index.scss +++ b/docs/.vuepress/styles/index.scss @@ -14,3 +14,8 @@ border-left-style: solid; margin: 1rem 0; } + +.page .theme-default-content, +.page-meta { + margin-left: 10%; +}