mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
docs: update api
This commit is contained in:
parent
115c80b2f2
commit
6e35f6481a
@ -381,7 +381,7 @@ window.$docsify = {
|
||||
```
|
||||
|
||||
|
||||
### basePath
|
||||
### base-path
|
||||
|
||||
If your HTML entry file and the markdown files are in different directories, we can use:
|
||||
|
||||
@ -430,7 +430,7 @@ window.$docsify = {
|
||||
}
|
||||
```
|
||||
|
||||
### nameLink
|
||||
### name-link
|
||||
|
||||
Name link. The default value is `window.location.pathname`.
|
||||
|
||||
|
||||
@ -387,7 +387,7 @@ window.$docsify = {
|
||||
}
|
||||
```
|
||||
|
||||
### basePath
|
||||
### base-path
|
||||
|
||||
指定加载文档的路径,如果你的 HTML 入口文件和文档是放在不同地方,你可以设置:
|
||||
|
||||
@ -438,7 +438,7 @@ window.$docsify = {
|
||||
}
|
||||
```
|
||||
|
||||
### nameLink
|
||||
### name-link
|
||||
|
||||
项目名链接,默认为 `window.location.pathname`。
|
||||
|
||||
@ -452,7 +452,7 @@ window.$docsify = {
|
||||
}
|
||||
```
|
||||
|
||||
### themeColor
|
||||
### theme-color
|
||||
|
||||
自定义主题色。
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user