docs(configuration): nameLink

This commit is contained in:
qingwei.li 2017-02-28 20:57:32 +08:00 committed by cinwell.li
commit 07a2a91296
2 changed files with 14 additions and 2 deletions

View file

@ -206,7 +206,13 @@ The name of the link.
```js
window.$docsify = {
nameLink: '/'
nameLink: '/',
// For each route
nameLink: {
'/zh-cn/': '/zh-cn/',
'/': '/'
}
}
```

View file

@ -206,7 +206,13 @@ window.$docsify = {
```js
window.$docsify = {
nameLink: '/'
nameLink: '/',
// 按照路由切换
nameLink: {
'/zh-cn/': '/zh-cn/',
'/': '/'
}
}
```