Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
gitbook-plugin-copyright
Advanced tools
Readme
gitbook-plugin-copyright
是基于Gitbook实现的版权保护插件,用于复制内容时追加版权信息以及文章末尾添加版权小尾巴.
Gitbook
多语言环境不仅 gitbook-plugin-copyright 官方文档已整合 copyright
版权保护插件,此外还提供了示例项目,详情参考 example
目录.
{
"plugins": ["copyright"],
"pluginsConfig": {
"copyright": {
"site": "https://snowdreams1006.github.io/gitbook-plugin-copyright",
"author": "雪之梦技术驿站",
"website": "雪之梦技术驿站",
"image": "https://snowdreams1006.github.io/snowdreams1006-wechat-open.png",
"copyProtect": false
}
}
}
book.json
配置文件book.json
配置文件中,添加 copyright
到 plugins
列表.book.json
配置文件中,配置 pluginsConfig
对象.book.json
{
"plugins": ["copyright"],
"pluginsConfig": {
"copyright": {
"site": "https://snowdreams1006.github.io/gitbook-plugin-copyright",
"author": "雪之梦技术驿站",
"website": "雪之梦技术驿站",
"image": "https://snowdreams1006.github.io/snowdreams1006-wechat-open.png",
"copyProtect": false
}
}
}
book.json
{
"plugins": ["copyright"],
"pluginsConfig": {
"copyright": {
"site": "https://snowdreams1006.github.io/gitbook-plugin-copyright",
"author": {
"en": "snowdreams1006",
"zh": "雪之梦技术驿站"
},
"website": {
"en": "snowdreams1006's Gitbook",
"zh": "雪之梦技术驿站"
},
"image": {
"en": "https://img.shields.io/badge/github-snowdreams1006-brightgreen.svg",
"zh": "https://snowdreams1006.github.io/snowdreams1006-wechat-open.png"
},
"copyProtect": false
}
}
}
其中,配置参数含义如下:
site
: [必选]部署网站基本路径author
: [必选]作者信息website
: [必选]网站名称image
: [可选]版权保护图片copyProtect
: [可选]复制内容是否追加版权保护信息gitbook install
命令安装到本地项目$ gitbook install
gitbook build
命令构建本地项目或者 gitbook serve
启动本地服务.$ gitbook build
或者
$ gitbook serve
如果你想贡献自己的一份力量,欢迎提交 Issues
或者拉取 Pull Request
请求!
创建功能分支
$ git checkout -b feature/fooBar
commit
描述$ git commit -am 'Add some fooBar'
$ git push origin feature/fooBar
Pull Request
👤 snowdreams1006
如果本项目对你有所帮助,欢迎 ⭐️ gitbook-plugin-copyright 项目,感谢你的支持与认可!
Copyright © 2019 snowdreams1006.
This project is MIT licensed.
FAQs
基于Gitbook实现的版权保护插件,用于复制内容时追加版本信息以及文章末尾添加版权小尾巴
The npm package gitbook-plugin-copyright receives a total of 1 weekly downloads. As such, gitbook-plugin-copyright popularity was classified as not popular.
We found that gitbook-plugin-copyright demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.