1.1.4 ā€¢ Published 7 years ago

gitbook-commander v1.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago