Skip to content
Permalink
Browse files
add old doc example links
  • Loading branch information
pissang committed Jan 20, 2021
1 parent ece0ae9 commit ee28fec6e2c964c3dd7507bc321ce9e7e260bf52
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
@@ -20,10 +20,10 @@ block content
.home-brand Apache ECharts
.home-subtitle An Open Source JavaScript Visualiztion Library
.home-btn-panel
a.btn.btn-main.btn-index-home(href='./tutorial.html#5%20分钟上手%20ECharts')
a.btn.btn-main.btn-index-home(href='#{host}/tutorial.html#5%20分钟上手%20ECharts')
include ../components/svg/index-learn
span Get Started
a.btn.btn-main.btn-index-home(href='#{hostParam}/examples/zh/index.html')
a.btn.btn-main.btn-index-home(href='#{host}/examples/zh/index.html')
include ../components/svg/index-example
span Demo
a.btn.btn-main.btn-index-home.btn-index-github(href='https://github.com/apache/incubator-echarts', target='_blank')
@@ -36,7 +36,7 @@ block content
.index-features
h2.reveal Features
hr.reveal
a.more.reveal(href='#') View More
a.more.reveal(href='#{host}/feature.html') View More
.row
.col-md-6
.index-feature#index-feature-1
@@ -23,6 +23,16 @@ block content

#ec-doc-main

#v4-link.alert.alert-info.alert-dismissible
if ecWWWLang == 'en'
a(href="#{host}/v4/option.html") V4 Documentation
else
a(href="#{host}/v4/option.html") 旧版本文档

button.close(type="button", data-dismiss="alert", aria-label="Close")
span(aria-hidden="true") ×


block extra_js
script(src="#{cdnThirdParty.vueJS}")
script(src="#{cdnThirdParty.elementUIJS}")
@@ -23,6 +23,16 @@ block content

#ec-example-main

#v4-link.alert.alert-info.alert-dismissible
if ecWWWLang == 'en'
a(href="#{host}/v4/examples/") V4 Examples
else
a(href="#{host}/v4/examples/") 旧版本示例

button.close(type="button", data-dismiss="alert", aria-label="Close")
span(aria-hidden="true") ×


block extra_js
script(src="#{cdnThirdParty.vueJS}")
script(src="#{cdnThirdParty.elementUIJS}")
@@ -19,10 +19,10 @@ block content
.home-brand Apache ECharts
.home-subtitle 一个基于 JavaScript 的开源可视化图表库
.home-btn-panel
a.btn.btn-main.btn-index-home(href='./tutorial.html#5%20分钟上手%20ECharts')
a.btn.btn-main.btn-index-home(href='#{host}/tutorial.html#5%20分钟上手%20ECharts')
include ../components/svg/index-learn
span 快速入门
a.btn.btn-main.btn-index-home(href='#{hostParam}/examples/zh/index.html')
a.btn.btn-main.btn-index-home(href='#{host}/examples/zh/index.html')
include ../components/svg/index-example
span 所有示例
a.btn.btn-main.btn-index-home.btn-index-github(href='https://github.com/apache/incubator-echarts', target='_blank')
@@ -44,7 +44,7 @@ block content
.index-features
h2.reveal 特性
hr.reveal
a.more.reveal(href='#') 查看完整特性
a.more.reveal(href='#{host}/feature.html') 查看完整特性
.row
.col-md-6
.index-feature#index-feature-1
@@ -72,6 +72,17 @@ body {
}
}

#v4-link {
position: fixed;
bottom: 0;
left: 50%;
width: 200px;
margin-left: -100px;
text-align: center;
z-index: 1000;
padding: 5px 30px;
}

// settings contains declaration of variables only
@import 'settings.colors';

0 comments on commit ee28fec

Please sign in to comment.