gh-pages 清理之前的文件;换一下 ECharts 编辑器的路径; iconfont 使用本地地址 (#1031)

This commit is contained in:
吴多益 2020-11-03 13:27:41 +08:00 committed by GitHub
parent e665c8159d
commit c7cccccfc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 9 deletions

View File

@ -5,6 +5,7 @@ rm -rf gh-pages
echo "Cloning"
git clone -b gh-pages --depth=1 https://$GH_TOKEN@github.com/baidu/amis.git gh-pages
rm -rf gh-pages/*
echo "building"
node ./scripts/generate-search-data.js
@ -25,7 +26,7 @@ cd gh-pages
git config user.email "liaoxuezhi@icloud.com"
git config user.name "liaoxuezhi"
git add .
git add . -A
git commit --allow-empty -m "自动同步 gh-pages"
git push --tags https://$GH_TOKEN@github.com/baidu/amis.git gh-pages

View File

@ -59,7 +59,7 @@ import OptionsPageSchema from './Linkage/Options';
import OptionsLocalPageSchema from './Linkage/OptionsLocal';
import WizardSchema from './Wizard';
import ChartSchema from './Chart';
import EchartsEditorSchema from './Echarts';
import EChartsEditorSchema from './ECharts';
import HorizontalSchema from './Horizontal';
import VideoSchema from './Video';
import AudioSchema from './Audio';
@ -484,10 +484,10 @@ export const examples = [
},
{
label: 'Echarts 编辑器',
label: 'ECharts 编辑器',
icon: 'fa fa-bar-chart',
path: '/examples/echarts',
component: makeSchemaRenderer(EchartsEditorSchema)
component: makeSchemaRenderer(EChartsEditorSchema)
},
{
label: '轮播图',

View File

@ -10,10 +10,7 @@
content="width=device-width, initial-scale=1, maximum-scale=1"
/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link
rel="stylesheet"
href="https://bce.bdstatic.com/iconfont/iconfont.css"
/>
<link rel="stylesheet" href="./static/iconfont.css" />
<link rel="stylesheet" href="font-awesome/css/font-awesome.css" />
<link rel="stylesheet" href="bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="animate.css/animate.css" />

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -126,7 +126,7 @@
"css": "2.2.1",
"es6-symbol": "3.1.1",
"faker": "^4.1.0",
"fis-parser-sass": "^1.0.0",
"fis-parser-sass": "^1.0.1",
"fis-parser-svgr": "^1.0.0",
"fis3": "^3.4.41",
"fis3-deploy-skip-packed": "0.0.5",