Skip to content
Permalink
Browse files
integrate theme-builder
  • Loading branch information
pissang committed Aug 7, 2020
1 parent b51b487 commit 568c247b9cbf01c0a1a3762b61c7ea8ad257aefd
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
@@ -0,0 +1,18 @@
extends ../layouts/basic

block variablesLang
include ./_variablesLang.jade

block extra_head
title Theme Builder - Apache ECharts (incubating)

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav

.page-main
include ../../_generated/zh/theme-builder/body.html

block extra_js
script(type='text/javascript').
document.getElementById('nav-resources').className = 'active';
@@ -0,0 +1,4 @@
extends layouts/redirect

block variables
- var redirectTo = 'theme-builder.html'
@@ -0,0 +1,15 @@
extends ../layouts/basic

block extra_head
title 主题编辑器 - Apache ECharts (incubating)

block content
nav(class='navbar navbar-default navbar-fixed-top', role="navigation")
include ../components/nav

.page-main
include ../../_generated/zh/theme-builder/body.html

block extra_js
script(type='text/javascript').
document.getElementById('nav-resources').className = 'active';
@@ -27,6 +27,7 @@ thisScriptDir=$(cd `dirname $0`; pwd)
wwwProjectDir="${thisScriptDir}/..";
docProjectDir="${wwwProjectDir}/../incubator-echarts-doc";
examplesProjectDir="${wwwProjectDir}/../echarts-examples";
themeProjectDir="${wwwProjectDir}/../ECharts-Theme-Builder";

cd ${wwwProjectDir}

@@ -38,6 +39,15 @@ fi
cd ${thisScriptDir}
node build.js --env ${envType} --clean

# Build Theme Builder
echo "Build theme builder ..."
if [ ! -d "${themeProjectDir}" ]; then
echo "Directory ${themeProjectDir} DOES NOT exists."
exit 1
fi
cd ${themeProjectDir}
node build.js --release

# Build doc
echo "Build doc ..."
if [ ! -d "${docProjectDir}" ]; then

0 comments on commit 568c247

Please sign in to comment.