Skip to content
Permalink
Browse files
fix example view page.
  • Loading branch information
pissang committed Jan 6, 2021
1 parent 03a34f9 commit d591b387d365713f5b049f6f1c60dc92a41605f4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 10 deletions.
@@ -1,4 +1,4 @@
extends ../../layouts/example
extends ../../layouts/example-simple

block variablesLang
include ./_variablesLang.jade
@@ -1,4 +1,4 @@
extends ../../layouts/example
extends ../../layouts/example-simple

block global_args_extra

@@ -206,7 +206,6 @@ async function buildJade(config) {
&& cfg.host
&& cfg.cdnThirdParty
&& cfg.galleryPath
&& cfg.blogPath
&& cfg.releaseDestDir
&& cfg.homeVersion
&& cfg.cdnPayVersion
@@ -15,8 +15,7 @@ config.cdnFreeRootMap = {
zh: 'https://cdn.jsdelivr.net/gh/apache/incubator-echarts-website@asf-site',
en: 'https://echarts.apache.org'
};
config.galleryPath = 'https://www.echartsjs.com/gallery/';
config.blogPath = 'https://efe.baidu.com/tags/ECharts/';
config.galleryPath = 'https://echarts.apache.org/examples/';
config.releaseDestDir = path.resolve(__dirname, '../../incubator-echarts-website');

module.exports = config;
@@ -11,8 +11,7 @@ config.cdnFreeRootMap = {
zh: config.host,
en: config.host
};
config.galleryPath = 'https://www.echartsjs.com/gallery/';
config.blogPath = 'https://efe.baidu.com/tags/ECharts/';
config.galleryPath = 'https://echarts.apache.org/examples/';
config.releaseDestDir = path.resolve(__dirname, '../../incubator-echarts-website');

module.exports = config;
@@ -6,15 +6,14 @@ config.host = 'http://localhost/incubator-echarts-website';

config.cdnPayRootMap = {
zh: config.host,
en: 'http://127.0.0.1/incubator-echarts-website'
en: 'http://localhost/incubator-echarts-website'
};
config.cdnFreeRootMap = {
zh: config.host,
en: config.host
};

config.galleryPath = 'https://www.echartsjs.com/gallery/';
config.blogPath = 'https://efe.baidu.com/tags/ECharts/';
config.galleryPath = 'https://echarts.apache.org/examples/';
config.releaseDestDir = path.resolve(__dirname, '../../incubator-echarts-website');

module.exports = config;

0 comments on commit d591b38

Please sign in to comment.