Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/herberthe/docsify-beian
docsify之备案插件 docsify plugin for Chinese Beian
https://github.com/herberthe/docsify-beian
chinese-beian docsify docsify-plugin
Last synced: about 2 months ago
JSON representation
docsify之备案插件 docsify plugin for Chinese Beian
- Host: GitHub
- URL: https://github.com/herberthe/docsify-beian
- Owner: HerbertHe
- License: mit
- Created: 2020-04-28T01:58:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-20T16:36:58.000Z (over 3 years ago)
- Last Synced: 2024-10-11T17:38:48.751Z (3 months ago)
- Topics: chinese-beian, docsify, docsify-plugin
- Homepage:
- Size: 6.84 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docsify-beian
docsify-beian
[![jsdelivr](https://data.jsdelivr.com/v1/package/npm/docsify-beian/badge)](https://www.jsdelivr.com/package/npm/docsify-beian)
docsify之备案插件 docsify plugin for Chinese Beian
## Usage
添加依赖 Add script
```html
```
添加配置 Add settings
```js
window.$docsify = {
beian: {
ICP: "",
NISMSP: {
number: "",
url: "",
id: ""
},
},
}
```| 属性名称 | 属性解释 | 默认值 |
| --------------- | ------------------------------------------------------------------------------ | ------ |
| `ICP` | 工信部ICP备案号 | "" |
| `NISMSP` | 全国互联网安全管理服务平台备案(公安部备案) | {} |
| `NISMSP.number` | 公安部备案号(没有留空) | "" |
| `NISMSP.url` | 公安部备案链接(没有留空) | "" |
| `NISMSP.id` | 公安部备案号的数字部分(没有留空,优先级比`NISMSP.url`更高,用于生成跳转链接) | "" |> 现在公安部备案url的格式为 `http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=` 加上你的备案号的数字部分