gitbook-commander v1.1.4
gitbook-commander
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-commanderAfter 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-docsto 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