项目作者: HerbertHe

项目描述 :
docsify之备案插件 docsify plugin for Chinese Beian
高级语言:
项目地址: git://github.com/HerbertHe/docsify-beian.git
创建时间: 2020-04-28T01:58:57Z
项目社区:https://github.com/HerbertHe/docsify-beian

开源协议:MIT License

下载


docsify-beian





docsify-beian

jsdelivr

docsify之备案插件 docsify plugin for Chinese Beian

Usage

添加依赖 Add script

  1. <script src="https://cdn.jsdelivr.net/npm/docsify-beian@latest/dist/beian.min.js"></script>

添加配置 Add settings

  1. window.$docsify = {
  2. beian: {
  3. ICP: "",
  4. NISMSP: {
  5. number: "",
  6. url: "",
  7. id: ""
  8. },
  9. },
  10. }
属性名称 属性解释 默认值
ICP 工信部ICP备案号 “”
NISMSP 全国互联网安全管理服务平台备案(公安部备案) {}
NISMSP.number 公安部备案号(没有留空) “”
NISMSP.url 公安部备案链接(没有留空) “”
NISMSP.id 公安部备案号的数字部分(没有留空,优先级比NISMSP.url更高,用于生成跳转链接) “”

现在公安部备案url的格式为 http://www.beian.gov.cn/portal/registerSystemInfo?recordcode= 加上你的备案号的数字部分