mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-05 07:27:09 +08:00
chore: github文档构建锁定在v1.1.6版本
This commit is contained in:
parent
b7934f9f51
commit
3291530b32
5
.github/workflows/pages.yml
vendored
5
.github/workflows/pages.yml
vendored
@ -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
|
||||
|
@ -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 体验
|
||||
|
||||
|
@ -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: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user