docs(configuration): nameLink
This commit is contained in:
parent
8ad835ca26
commit
07a2a91296
2 changed files with 14 additions and 2 deletions
|
|
@ -206,7 +206,13 @@ The name of the link.
|
|||
|
||||
```js
|
||||
window.$docsify = {
|
||||
nameLink: '/'
|
||||
nameLink: '/',
|
||||
|
||||
// For each route
|
||||
nameLink: {
|
||||
'/zh-cn/': '/zh-cn/',
|
||||
'/': '/'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -206,7 +206,13 @@ window.$docsify = {
|
|||
|
||||
```js
|
||||
window.$docsify = {
|
||||
nameLink: '/'
|
||||
nameLink: '/',
|
||||
|
||||
// 按照路由切换
|
||||
nameLink: {
|
||||
'/zh-cn/': '/zh-cn/',
|
||||
'/': '/'
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue