From 3291530b326289653a25a21894dcea3ede9ff520 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Tue, 29 Nov 2022 17:25:53 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20github=E6=96=87=E6=A1=A3=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E9=94=81=E5=AE=9A=E5=9C=A8v1.1.6=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pages.yml | 5 +++-- README.md | 4 ++-- docs/src/.vuepress/config.ts | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 78803c10..06ca3580 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -13,6 +13,7 @@ jobs: - uses: actions/checkout@v2 with: fetch-depth: 0 + - run: git checkout v1.1.6 -b v1.1.6 - name: Install pnpm uses: pnpm/action-setup@v2 @@ -35,10 +36,10 @@ jobs: run: rm -rf dist - name: mkdir dist - run: mkdir dist && mkdir dist/docs && mkdir dist/playground + run: mkdir dist && mkdir dist/docs && mkdir dist/docs/v1.1.6 && mkdir dist/playground - name: move to dist - run: mv docs/dist/* dist/docs && mv playground/dist/* dist/playground + run: mv docs/dist/* dist/docs/v1.1.6 && mv playground/dist/* dist/playground - name: Deploy to GitHub Pages uses: crazy-max/ghaction-github-pages@v2 diff --git a/README.md b/README.md index 50078813..f7dc254c 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ TMagic 可视化搭建平台。 # 文档 -文档请移步 https://tencent.github.io/tmagic-editor/docs/index.html +文档请移步 https://tencent.github.io/tmagic-editor/docs/v1.1.6/index.html 目前文档仍在逐步完善中,如有疑问欢迎给我们提 issue。 -[教程](https://tencent.github.io/tmagic-editor/docs/tutorial/hello-world.html) +[教程](https://tencent.github.io/tmagic-editor/docs/v1.1.6/tutorial/hello-world.html) # Playground 体验 diff --git a/docs/src/.vuepress/config.ts b/docs/src/.vuepress/config.ts index c0a2d57c..400951f5 100644 --- a/docs/src/.vuepress/config.ts +++ b/docs/src/.vuepress/config.ts @@ -131,7 +131,7 @@ export default defineUserConfig({ title: 'tmagic-editor', description: 'tmagic', lang: 'zh-CN', - base: '/tmagic-editor/docs/', + base: '/tmagic-editor/docs/v1.1.6/', theme: defaultTheme({ logo: './favicon.png', navbar: [