Skip to content
Permalink
Browse files
Consist cn, en, apache build.
  • Loading branch information
100pah committed Jul 4, 2018
1 parent 363bc20 commit b9da791188c9a8cea7f263f3af334f1700bd646c
Showing 68 changed files with 2,656 additions and 1,656 deletions.
@@ -1,4 +1,5 @@
<!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" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="vendors/bootstrap/css/bootstrap.min.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="./css/main.css?_v_=1530501506843"><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="vendors/bootstrap/css/bootstrap.min.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="./css/main.css?_v_=1530736707002"><script>window.EC_WWW_LANG = 'cn';
</script><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
var el = document.createElement('style');
el.innerHTML = ''
+ '@font-face {font-family:"noto-thin";src:local("Microsoft Yahei");}'
@@ -5,7 +5,7 @@ block global_args_extra
script(type="text/javascript").
window.globalArgsExtra = {
pageName: 'api',
schemaUrl: 'documents/cn/api.json',
schemaUrl: 'documents/#{ecWWWLang}/api.json',
initHash: 'echarts',
hideTreeRoot: true,
docTreeChildrenPre: 'API',
@@ -0,0 +1,3 @@

- var ecWWWLang = 'en';
- var htmlAttrLang = 'en-US';
@@ -0,0 +1,4 @@
extends ../api

block variables
include ./_var.jade
@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block extra_head
<title>ECharts Changelog</title>

@@ -1,8 +1,16 @@
extends ../layouts/basic

block variables
include ./_var.jade

block extra_head
<title>ECharts Coding Standard</title>

link(rel='stylesheet', type='text/css', href='./vendors/prettify/prettify.css')
script(type='text/javascript', src='./vendors/prettify/prettify.js')
script(type='text/javascript', src='./vendors/prettify/lang-css.js')


block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav
@@ -18,6 +26,7 @@ block content
include ../../documents/en/coding-standard.html

block extra_js

script(type='text/javascript').
document.getElementById('nav-contribute').className = 'active';

@@ -46,3 +55,9 @@ block extra_js
window.addEventListener('hashchange', function() {
scrollBy(0, -50);
});

$('.page-detail pre code').each(function (index, el) {
$(el).addClass('prettyprint');
});
prettyPrint();

@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block extra_head
title ECharts Committers

@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block extra_head
title ECharts Dependencies

@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block content

style.
@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block variables
- var pageTitle = 'ECharts FAQ'

@@ -1,11 +1,12 @@
extends ../layouts/basic

block variables
include ./_var.jade
- var useDp = false

block extra_head
<title>ECharts</title>

block variables
- var useDp = true

block content
nav(class='navbar navbar-default navbar-fixed-top', role="navigation")
include ./nav
@@ -22,8 +23,9 @@ block content
a.btn.btn-index-home(href='https://github.com/apache/incubator-echarts', style="letter-spacing:0px") Source Code
.main-bg

script.
void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new Date})},s=0;s< n.length;s++)!function(){var e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);
if useDp
script.
void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new Date})},s=0;s< n.length;s++)!function(){var e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);

//- section.banner-section(style='background: #1e2e55')
//- a(href='https://jing.baidu.com/h5/xzzb.html')
@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block content
nav(class='navbar navbar-default navbar-fixed-top')
include ./nav
@@ -1,5 +1,8 @@
extends ../layouts/basic

block variables
include ./_var.jade

block extra_head
title ECharts Mailing List

@@ -31,6 +31,8 @@
ul.dropdown-menu
li
a(href='./api.html') API
li
a(href='./option.html') Option
li
a(href='./changelog.html') Changelog
li#nav-contribute
@@ -0,0 +1,4 @@
extends ../option

block variables
include ./_var.jade
@@ -0,0 +1,4 @@
extends ../option3

block variables
include ./_var.jade
@@ -0,0 +1,4 @@
extends ../tutorial

block variables
include ./_var.jade
@@ -22,8 +22,9 @@ block content
a.btn.btn-index-home(href='./download.html') 下载
.main-bg

script.
void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new Date})},s=0;s< n.length;s++)!function(){var e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);
if useDp
script.
void function(e,t){for(var n=t.getElementsByTagName("img"),a=+new Date,i=[],o=function(){this.removeEventListener&&this.removeEventListener("load",o,!1),i.push({img:this,time:+new Date})},s=0;s< n.length;s++)!function(){var e=n[s];e.addEventListener?!e.complete&&e.addEventListener("load",o,!1):e.attachEvent&&e.attachEvent("onreadystatechange",function(){"complete"==e.readyState&&o.call(e,o)})}();alog("speed.set",{fsItems:i,fs:a})}(window,document);

//- section.banner-section(style='background: #1e2e55')
//- a(href='https://jing.baidu.com/h5/xzzb.html')
@@ -1,8 +1,10 @@
- var ecWWWLang = 'cn';
- var htmlAttrLang = 'zh-CN';

block variables

doctype html
html
html(lang='#{htmlAttrLang}')
head
meta(charset='utf-8')

@@ -48,6 +50,9 @@ html

link(rel='stylesheet', type='text/css', href='./css/main.css?_v_=#{homeVersion}')

script.
window.EC_WWW_LANG = '#{ecWWWLang}';

script(type='text/javascript', src='./vendors/pace/pace.min.js')

script(id='font-hack', type='text/javascript').
@@ -15,15 +15,24 @@ block extra_head
block content

nav(class='navbar navbar-default navbar-fixed-top')
include ../components/nav
if ecWWWLang == 'en'
include ../en/nav
else
include ../components/nav

block vars

if isOption
if isECharts4
a.doc-version-change(href="option3.html") 切换 v3.x 版本
if ecWWWLang == 'en'
a.doc-version-change(href="option3.html") To v3.x
else
a.doc-version-change(href="option3.html") 切换 v3.x 版本
else
a.doc-version-change(href="option.html") 切换 v4.x 版本
if ecWWWLang == 'en'
a.doc-version-change(href="option.html") To v4.x
else
a.doc-version-change(href="option.html") 切换 v4.x 版本


.ecdoc-apidoc
@@ -9,7 +9,7 @@ block global_args_extra
script(type="text/javascript").
window.globalArgsExtra = {
pageName: 'option',
schemaUrl: 'documents/cn/option.json',
schemaUrl: 'documents/#{ecWWWLang}/option.json',
initHash: 'title',
docTreeRootText: '.setOption('
};
@@ -9,7 +9,7 @@ block global_args_extra
script(type="text/javascript").
window.globalArgsExtra = {
pageName: 'option',
schemaUrl: 'documents/cn/option3.json',
schemaUrl: 'documents/#{ecWWWLang}/option3.json',
initHash: 'title',
docTreeRootText: '.setOption('
};
@@ -2,14 +2,19 @@ extends layouts/doc

block global_args_extra

if ecWWWLang == 'en'
- var tutorialInitHash = 'Get Started with ECharts in 5 minutes';
else
- var tutorialInitHash = '5 分钟上手 ECharts';

script(type="text/javascript").

$('#main').addClass('tutorial');

window.globalArgsExtra = {
pageName: 'tutorial',
schemaUrl: 'documents/cn/tutorial.json',
initHash: '5 分钟上手 ECharts',
schemaUrl: 'documents/#{ecWWWLang}/tutorial.json',
initHash: '#{tutorialInitHash}',
hideTreeRoot: true,
pureTitle: true,
noTypeEnum: true,
@@ -1,4 +1,5 @@
<!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" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="vendors/bootstrap/css/bootstrap.min.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="./css/main.css?_v_=1530501506843"><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no"><meta name="description" content="ECharts, a powerful, interactive charting and visualization library for browser"><link rel="shortcut icon" href="images/favicon.png"><link rel="stylesheet" type="text/css" href="vendors/bootstrap/css/bootstrap.min.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="./css/main.css?_v_=1530736707002"><script>window.EC_WWW_LANG = 'cn';
</script><script type="text/javascript" src="./vendors/pace/pace.min.js"></script><script id="font-hack" type="text/javascript">if (/windows/i.test(navigator.userAgent)) {
var el = document.createElement('style');
el.innerHTML = ''
+ '@font-face {font-family:"noto-thin";src:local("Microsoft Yahei");}'

0 comments on commit b9da791

Please sign in to comment.