Skip to content

Commit

Permalink
chore: 增加所有图表功能
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxue committed Dec 27, 2019
1 parent a674860 commit 513e57c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
4 changes: 1 addition & 3 deletions examples/gallery/basic/index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
title: Gallery
title: Featured
order: 0
redirect_from:
- /en/examples
---
4 changes: 1 addition & 3 deletions examples/gallery/basic/index.zh.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
---
title: Gallery
title: 官方精品库
order: 0
redirect_from:
- /zh/examples
---
7 changes: 7 additions & 0 deletions examples/gallery/index.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Gallery
order: -1
icon: other
redirect_from:
- /en/examples
---
7 changes: 7 additions & 0 deletions examples/gallery/index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 所有图表
order: -1
icon: other
redirect_from:
- /zh/examples
---
8 changes: 3 additions & 5 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ module.exports = {
title: {
zh: '图表演示',
en: 'Examples'
},
redirect: 'gallery/basic'
}
}
// target: '_blank',
],
docs: [
{
Expand Down Expand Up @@ -141,8 +139,8 @@ module.exports = {
slug: 'gallery',
icon: 'gallery',
title: {
zh: 'Gallery',
en: 'Gallery'
zh: '官方精品库',
en: 'Featured'
}
},
{
Expand Down

0 comments on commit 513e57c

Please sign in to comment.