docsify-beian

1.1.1 • Public • Published

docsify-beian


docsify-beian

jsdelivr

docsify之备案插件 docsify plugin for Chinese Beian

Usage

添加依赖 Add script

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

添加配置 Add settings

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= 加上你的备案号的数字部分

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    10
    • latest

Version History

Package Sidebar

Install

npm i docsify-beian

Weekly Downloads

10

Version

1.1.1

License

MIT

Unpacked Size

6.45 kB

Total Files

5

Last publish

Collaborators

  • herberthe