Skip to content

Commit

Permalink
Make link to API and Guide top level (#920)
Browse files Browse the repository at this point in the history
We don't have many options in Learn section, and API reference hidden beside select is hard to discover.
Similar solutions are made in vuex, vue router and so on.
  • Loading branch information
AleksandrSl committed Jun 12, 2020
1 parent d0f6834 commit 31573e1
Showing 1 changed file with 18 additions and 33 deletions.
51 changes: 18 additions & 33 deletions vuepress/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,12 @@ module.exports = {
lastUpdated: 'Last Updated',
nav: [
{
text: 'Learn',
items: [
{
text: 'Guide',
link: '/guide/formatting',
},
{
text: 'API',
link: '/api/'
}
]
text: 'Guide',
link: '/guide/formatting'
},
{
text: 'API',
link: '/api/'
},
{
text: 'Ecosystem',
Expand Down Expand Up @@ -134,17 +129,12 @@ module.exports = {
lastUpdated: '最近一次更新',
nav: [
{
text: '学习',
items: [
{
text: '指南',
link: '/zh/guide/formatting',
},
{
text: 'API',
link: '/zh/api/'
}
]
text: '指南',
link: '/zh/guide/formatting',
},
{
text: 'API',
link: '/zh/api/'
},
{
text: '生态',
Expand Down Expand Up @@ -231,17 +221,12 @@ module.exports = {
lastUpdated: 'Последнее обновление',
nav: [
{
text: 'Документация',
items: [
{
text: 'Руководство',
link: '/ru/guide/formatting',
},
{
text: 'Справочник API',
link: '/ru/api/'
}
]
text: 'Руководство',
link: '/ru/guide/formatting',
},
{
text: 'Справочник API',
link: '/ru/api/'
},
{
text: 'Экосистема',
Expand Down

0 comments on commit 31573e1

Please sign in to comment.