docs: update api
This commit is contained in:
parent
115c80b2f2
commit
6e35f6481a
2 changed files with 5 additions and 5 deletions
|
|
@ -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:
|
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`.
|
Name link. The default value is `window.location.pathname`.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -387,7 +387,7 @@ window.$docsify = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### basePath
|
### base-path
|
||||||
|
|
||||||
指定加载文档的路径,如果你的 HTML 入口文件和文档是放在不同地方,你可以设置:
|
指定加载文档的路径,如果你的 HTML 入口文件和文档是放在不同地方,你可以设置:
|
||||||
|
|
||||||
|
|
@ -438,7 +438,7 @@ window.$docsify = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### nameLink
|
### name-link
|
||||||
|
|
||||||
项目名链接,默认为 `window.location.pathname`。
|
项目名链接,默认为 `window.location.pathname`。
|
||||||
|
|
||||||
|
|
@ -452,7 +452,7 @@ window.$docsify = {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### themeColor
|
### theme-color
|
||||||
|
|
||||||
自定义主题色。
|
自定义主题色。
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue