Socket
Socket
Sign inDemoInstall

gitbook-to-gh-pages

Package Overview
Dependencies
23
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitbook-to-gh-pages

[gitbook](https://www.npmjs.com/package/gitbook-cli) 是一个使用markdown很方便书写文档的本地工具,[github pages](https://pages.github.com/)则是托管文档的线上服务,本工具旨在提供本地使用gitbook开发文档,然后一键发布到github pages的功能


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
343 kB
Created
Weekly downloads
 

Readme

Source

工具背景

gitbook 是一个使用markdown很方便书写文档的本地工具,github pages则是托管文档的线上服务,本工具旨在提供本地使用gitbook开发文档,然后一键发布到github pages的功能

使用方式:

项目中创建一个publish.js文件,键入以下代码,然后控制台执行node publish即可

require('gitbook-to-gh-pages)()

依赖

需要先安装 gitbook npm i -g gitbook-cli

FAQs

Last updated on 17 Apr 2018

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc