chore: github文档构建锁定在v1.1.6版本

This commit is contained in:
roymondchen 2022-11-29 17:25:53 +08:00
parent b7934f9f51
commit 3291530b32
3 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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 体验

View File

@ -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: [