Skip to content

Commit

Permalink
fix domain name
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovilia committed May 30, 2019
1 parent 855e9d4 commit 1dfa70a
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion config/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {

version: '4.2.1',

host: 'http://apache.echarts.org/examples',
host: 'http://echarts.apache.org/examples',
debugHost: 'http://localhost/incubator-echarts-website/examples',
mainSitePath: 'https://echarts.apache.org',
debugMainSitePath: 'http://localhost/incubator-echarts-website',
Expand Down
4 changes: 2 additions & 2 deletions public/en/editor.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559123921662"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559203460630"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
</script></head><body><nav class="navbar navbar-default navbar-fixed-top"><div class="container-fluid"><div class="navbar-header"><button type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="https://echarts.apache.org/en/index.html" class="navbar-brand"><img src="https://echarts.apache.org/en/images/logo.png" alt="echarts logo" class="navbar-logo"></a></div><div id="navbar-collapse" class="collapse navbar-collapse"><ul class="nav navbar-nav navbar-left"><li id="nav-index"><a href="https://echarts.apache.org/en/index.html">Home</a></li><li id="nav-doc" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Documents<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/en/feature.html">Features</a></li><li><a href="https://echarts.apache.org/en/tutorial.html">Tutorials</a></li><li><a href="https://echarts.apache.org/en/api.html">API</a></li><li><a href="https://echarts.apache.org/en/option.html">Chart Configuration</a></li><li><a href="https://echarts.apache.org/en/option-gl.html">GL Configuration (Chinese)</a></li><li><a href="https://echarts.apache.org/en/changelog.html">Changelog</a></li></ul></li><li id="nav-download" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Download<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/en/download.html">Download</a></li><li><a href="https://echarts.apache.org/en/download-theme.html">Download Themes</a></li><li><a href="https://echarts.apache.org/en/download-map.html">Download Maps</a></li><li><a href="https://echarts.apache.org/en/download-extension.html">Download Extensions</a></li></ul></li><li id="nav-examples"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Examples<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/examples/en/">ECharts Examples</a></li><li><a href="https://echarts.apache.org/examples/en/index.html#chart-type-globe">GL Examples</a></li></ul></li><li id="nav-contribute"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Contribute<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://github.com/apache/incubator-echarts" target="_blank">Source Code (GitHub)</a></li><li><a href="https://github.com/apache/incubator-echarts/issues" target="_blank">Issue Tracking</a></li><li><a href="https://echarts.apache.org/en/coding-standard.html">Code Standard</a></li></ul></li><li id="nav-about"><a href="#" data-toggle="dropdown" class="dropdown-toggle">About<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://www.apache.org/licenses/">License</a></li><li><a href="https://echarts.apache.org/en/maillist.html">Mailing List</a></li><li><a href="https://echarts.apache.org/en/committers.html">Committers</a></li><li><a href="https://echarts.apache.org/en/dependencies.html">Dependencies</a></li><li><a href="https://echarts.apache.org/en/faq.html">FAQ</a></li></ul></li></ul><ul class="nav navbar-nav navbar-right"><li id="nav-github"><a href="https://github.com/ecomfe/echarts" target="_blank"><img src="https://echarts.apache.org/en/images/github.png" width="18"></a></li><li id="nav-homeen"><a href="javascript:;" onclick="changeLang('zh')">中文</a></li></ul></div></div></nav><script type="text/javascript">var selector = window.EC_DEMO_LANG === 'en' ? 'nav-start' : 'nav-examples';
var menu = document.getElementById(selector);
if (menu) {
Expand All @@ -13,4 +13,4 @@
new RegExp('/(zh|en)/', 'g'), '/' + lang + '/'
);
}
</script><script type="text/javascript" src="../vendors/dat.gui.min.js"></script><script type="text/javascript" src="../vendors/echarts/echarts.min.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/echarts-stat/ecStat.min.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/echarts/map/js/china.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/echarts/map/js/world.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/echarts/extension/dataTool.js?_v_=1559123921662"></script><script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&amp;ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&amp;__ec_v__=20190126"></script><script type="text/javascript" src="../vendors/echarts/extension/bmap.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/ace/src/ace.js"></script><script type="text/javascript" src="../vendors/ace/src/ext-language_tools.js"></script><script type="text/javascript" src="../javascripts/editor.js?_v_=1559123921662"></script><script type="text/javascript" src="../javascripts/hm.js"></script><script type="text/javascript">document.getElementById('nav-examples').className = 'active';</script></body></html>
</script><script type="text/javascript" src="../vendors/dat.gui.min.js"></script><script type="text/javascript" src="../vendors/echarts/echarts.min.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/echarts-stat/ecStat.min.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/echarts/map/js/china.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/echarts/map/js/world.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/echarts/extension/dataTool.js?_v_=1559203460630"></script><script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&amp;ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&amp;__ec_v__=20190126"></script><script type="text/javascript" src="../vendors/echarts/extension/bmap.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/ace/src/ace.js"></script><script type="text/javascript" src="../vendors/ace/src/ext-language_tools.js"></script><script type="text/javascript" src="../javascripts/editor.js?_v_=1559203460630"></script><script type="text/javascript" src="../javascripts/hm.js"></script><script type="text/javascript">document.getElementById('nav-examples').className = 'active';</script></body></html>
2 changes: 1 addition & 1 deletion public/en/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559123921662"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559203460630"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
</script></head><body><nav class="navbar navbar-default navbar-fixed-top"><div class="container-fluid"><div class="navbar-header"><button type="button" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false" class="navbar-toggle collapsed"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a href="https://echarts.apache.org/en/index.html" class="navbar-brand"><img src="https://echarts.apache.org/en/images/logo.png" alt="echarts logo" class="navbar-logo"></a></div><div id="navbar-collapse" class="collapse navbar-collapse"><ul class="nav navbar-nav navbar-left"><li id="nav-index"><a href="https://echarts.apache.org/en/index.html">Home</a></li><li id="nav-doc" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Documents<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/en/feature.html">Features</a></li><li><a href="https://echarts.apache.org/en/tutorial.html">Tutorials</a></li><li><a href="https://echarts.apache.org/en/api.html">API</a></li><li><a href="https://echarts.apache.org/en/option.html">Chart Configuration</a></li><li><a href="https://echarts.apache.org/en/option-gl.html">GL Configuration (Chinese)</a></li><li><a href="https://echarts.apache.org/en/changelog.html">Changelog</a></li></ul></li><li id="nav-download" class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Download<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/en/download.html">Download</a></li><li><a href="https://echarts.apache.org/en/download-theme.html">Download Themes</a></li><li><a href="https://echarts.apache.org/en/download-map.html">Download Maps</a></li><li><a href="https://echarts.apache.org/en/download-extension.html">Download Extensions</a></li></ul></li><li id="nav-examples"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Examples<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://echarts.apache.org/examples/en/">ECharts Examples</a></li><li><a href="https://echarts.apache.org/examples/en/index.html#chart-type-globe">GL Examples</a></li></ul></li><li id="nav-contribute"><a href="#" data-toggle="dropdown" class="dropdown-toggle">Contribute<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://github.com/apache/incubator-echarts" target="_blank">Source Code (GitHub)</a></li><li><a href="https://github.com/apache/incubator-echarts/issues" target="_blank">Issue Tracking</a></li><li><a href="https://echarts.apache.org/en/coding-standard.html">Code Standard</a></li></ul></li><li id="nav-about"><a href="#" data-toggle="dropdown" class="dropdown-toggle">About<b class="caret"></b></a><ul class="dropdown-menu"><li><a href="https://www.apache.org/licenses/">License</a></li><li><a href="https://echarts.apache.org/en/maillist.html">Mailing List</a></li><li><a href="https://echarts.apache.org/en/committers.html">Committers</a></li><li><a href="https://echarts.apache.org/en/dependencies.html">Dependencies</a></li><li><a href="https://echarts.apache.org/en/faq.html">FAQ</a></li></ul></li></ul><ul class="nav navbar-nav navbar-right"><li id="nav-github"><a href="https://github.com/ecomfe/echarts" target="_blank"><img src="https://echarts.apache.org/en/images/github.png" width="18"></a></li><li id="nav-homeen"><a href="javascript:;" onclick="changeLang('zh')">中文</a></li></ul></div></div></nav><script type="text/javascript">var selector = window.EC_DEMO_LANG === 'en' ? 'nav-start' : 'nav-examples';
var menu = document.getElementById(selector);
if (menu) {
Expand Down
4 changes: 2 additions & 2 deletions public/en/view.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559123921662"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" type="text/css" href="../vendors/bootstrap/css/bootstrap.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries--><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--><link rel="stylesheet" type="text/css" href="../stylesheets/main.css?_v_=1559203460630"><title>ECharts Demo</title><script type="text/javascript">window.EC_DEMO_LANG = 'en';
</script></head><body><div id="view-main"><div class="control-panel"></div><div id="view-chart" class="chart"></div></div><script type="text/javascript" src="../vendors/jquery/jquery.js"></script><script type="text/javascript" src="../vendors/bootstrap/js/bootstrap.js"></script><script type="text/javascript" src="../vendors/lodash.js"></script><script type="text/javascript">function changeLang(lang) {
location.href = location.href.replace(
new RegExp('/(zh|en)/', 'g'), '/' + lang + '/'
);
}
</script><script type="text/javascript" src="../vendors/dat.gui.min.js"></script><script type="text/javascript" src="../vendors/echarts/echarts.min.js?_v_=1559123921662"></script><script type="text/javascript" src="../vendors/echarts-stat/ecStat.min.js?_v_=1559123921662"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/map/js/china.js?_v_=1559123921662"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/map/js/world.js?_v_=1559123921662"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/extension/dataTool.js?_v_=1559123921662"></script><script id="echarts-js" type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&amp;ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&amp;__ec_v__=20190126"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/extension/bmap.js?_v_=1559123921662"></script><script type="text/javascript" src="../javascripts/view.js?_v_=1559123921662"></script><script type="text/javascript" src="../javascripts/hm.js"></script></body></html>
</script><script type="text/javascript" src="../vendors/dat.gui.min.js"></script><script type="text/javascript" src="../vendors/echarts/echarts.min.js?_v_=1559203460630"></script><script type="text/javascript" src="../vendors/echarts-stat/ecStat.min.js?_v_=1559203460630"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/map/js/china.js?_v_=1559203460630"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/map/js/world.js?_v_=1559203460630"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/extension/dataTool.js?_v_=1559203460630"></script><script id="echarts-js" type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&amp;ak=xfhhaTThl11qYVrqLZii6w8qE5ggnhrY&amp;__ec_v__=20190126"></script><script id="echarts-js" type="text/javascript" src="../vendors/echarts/extension/bmap.js?_v_=1559203460630"></script><script type="text/javascript" src="../javascripts/view.js?_v_=1559203460630"></script><script type="text/javascript" src="../javascripts/hm.js"></script></body></html>
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!DOCTYPE html><html><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><script type="text/javascript">var lang = navigator.language || navigator.userLanguage;
lang = lang.indexOf('zh') > -1 ? 'zh' : 'en';
location.href = 'http://apache.echarts.org/examples/' + lang + '/index.html';</script></head></html>
location.href = 'http://echarts.apache.org/examples/' + lang + '/index.html';</script></head></html>
Loading

0 comments on commit 1dfa70a

Please sign in to comment.