Giter Site home page Giter Site logo

aqrln / gitbook-commander Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 420 KB

npm scripts friendly CLI for GitBook that installs nothing on your system and makes use of peerDependencies

License: MIT License

JavaScript 83.08% Shell 16.92%
gitbook documentation documentation-tool cli

gitbook-commander's Introduction

gitbook-commander

Build Status Greenkeeper badge

An alternative lightweight CLI for the awesome GitBook documentation generator that, unlike the official CLI, doesn't assume it is installed globally (and, to the contrary, is built specifically for being used in npm scripts) and does not install anything on its own behalf.

Installation and Usage

$ npm install --save-dev gitbook
$ npm install --save-dev gitbook-commander

After that, the gitbook-local command will be available for you to use from npm scripts in package.json or via npx.

For example, you may add this or something similar to your package.json:

{
  "scripts": {
    "build-docs": "gitbook-local build"
  }
}

and run

$ npm run build-docs

to build your documentation. GitBook stays isolated inside your node_modules ๐ŸŽ‰

Contributing

Issues and PRs are welcome if you spot anything worth fixing! โค๏ธ

This project uses Conventional Commits and the JavaScript code style covered by its own ESLint config (no textual description, sorry ๐Ÿ˜”, just follow the surrounding code and run the linter via npm run lint or as a part of the general testing process via npm test).

Please adhere to the Code of Conduct for all the interaction in this repo.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.