You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2019/12/23 12:01:32 UTC

[incubator-echarts-doc] branch release updated: optimize doc conent for the new hierarchy

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-doc.git


The following commit(s) were added to refs/heads/release by this push:
     new d2943e5  optimize doc conent for the new hierarchy
d2943e5 is described below

commit d2943e5bd1477bc9517f107e95147abcdca9c94e
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Dec 23 20:01:15 2019 +0800

    optimize doc conent for the new hierarchy
---
 en/option/component/data-zoom.md      | 3 ---
 en/option/partial/text-style.md       | 2 +-
 src/components/DocContentItemCard.vue | 2 +-
 src/components/DocNav.vue             | 5 ++---
 zh/option/component/data-zoom.md      | 3 ---
 zh/option/partial/text-style.md       | 2 +-
 6 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/en/option/component/data-zoom.md b/en/option/component/data-zoom.md
index 49fc3f0..4acd613 100644
--- a/en/option/component/data-zoom.md
+++ b/en/option/component/data-zoom.md
@@ -128,9 +128,6 @@ What is the exact meaning of `start: 20, end: 80` in `dataZoomY` in the example
 <br>
 
 
-Detailed configurations are listed as follows.
-
-
 
 {{import: component-data-zoom-inside}}
 {{import: component-data-zoom-slider}}
diff --git a/en/option/partial/text-style.md b/en/option/partial/text-style.md
index a3ef8ae..e9f3304 100644
--- a/en/option/partial/text-style.md
+++ b/en/option/partial/text-style.md
@@ -114,7 +114,7 @@ Options are:
 + `'oblique'`
 
 
-#${prefix} fontWeight(string)=${defaultFontWeight|default('normal')}
+#${prefix} fontWeight(string)=${defaultFontWeight|default('\'normal\'')}
 
 ${name} font thick weight
 
diff --git a/src/components/DocContentItemCard.vue b/src/components/DocContentItemCard.vue
index d573e26..f78ce63 100644
--- a/src/components/DocContentItemCard.vue
+++ b/src/components/DocContentItemCard.vue
@@ -264,7 +264,7 @@ $hierarchy-guider-color: #C592A0;
 
         .default-value {
             color: #293c55;
-            font-size: 18px;
+            font-size: 16px;
             margin-left: 15px;
             vertical-align: bottom;
             font-weight: normal;
diff --git a/src/components/DocNav.vue b/src/components/DocNav.vue
index 93233e3..3a4e633 100644
--- a/src/components/DocNav.vue
+++ b/src/components/DocNav.vue
@@ -38,7 +38,7 @@
 <script>
 
 import {getOutlineAsync} from '../docHelper';
-import {store} from '../store';
+import {store, isOptionDoc} from '../store';
 import Vue from 'vue';
 import {directTo} from '../route';
 import VueScrollTo from 'vue-scrollto';
@@ -121,8 +121,7 @@ export default {
 
     computed: {
         isOption() {
-            return this.shared.docType === 'option'
-                || this.shared.docType === 'option-gl';
+            return isOptionDoc();
         }
     },
 
diff --git a/zh/option/component/data-zoom.md b/zh/option/component/data-zoom.md
index e311317..78c45f4 100644
--- a/zh/option/component/data-zoom.md
+++ b/zh/option/component/data-zoom.md
@@ -122,9 +122,6 @@ option = {
 <br>
 
 
-下面是详细介绍:
-
-
 
 {{import: component-data-zoom-inside}}
 {{import: component-data-zoom-slider}}
diff --git a/zh/option/partial/text-style.md b/zh/option/partial/text-style.md
index 9c7303b..839a2f9 100644
--- a/zh/option/partial/text-style.md
+++ b/zh/option/partial/text-style.md
@@ -114,7 +114,7 @@ ${name}文字字体的风格
 + `'oblique'`
 
 
-#${prefix} fontWeight(string)=${defaultFontWeight|default('normal')}
+#${prefix} fontWeight(string)=${defaultFontWeight|default('\'normal\'')}
 
 ${name}文字字体的粗细
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org