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

This reverts commit 3291530b326289653a25a21894dcea3ede9ff520.
This commit is contained in:
roymondchen 2022-11-29 18:06:40 +08:00
parent 164d777ebf
commit c143a5f767
3 changed files with 5 additions and 6 deletions

View File

@ -13,7 +13,6 @@ 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
@ -36,10 +35,10 @@ jobs:
run: rm -rf dist
- name: mkdir dist
run: mkdir dist && mkdir dist/docs && mkdir dist/docs/v1.1.6 && mkdir dist/playground
run: mkdir dist && mkdir dist/docs && mkdir dist/playground
- name: move to dist
run: mv docs/dist/* dist/docs/v1.1.6 && mv playground/dist/* dist/playground
run: mv docs/dist/* dist/docs && 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/v1.1.6/index.html
文档请移步 https://tencent.github.io/tmagic-editor/docs/index.html
目前文档仍在逐步完善中,如有疑问欢迎给我们提 issue。
[教程](https://tencent.github.io/tmagic-editor/docs/v1.1.6/tutorial/hello-world.html)
[教程](https://tencent.github.io/tmagic-editor/docs/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/v1.1.6/',
base: '/tmagic-editor/docs/',
theme: defaultTheme({
logo: './favicon.png',
navbar: [