npm install -g gitbook-cli
gitbook install
npm run gitbook:install
gitbook serve --port 8989
npm run gitbook:serve
-
Install Calibre: https://calibre-ebook.com/download
-
npm install svgexport -g"
-
Pre-requisites for node-canvas: https://github.com/Automattic/node-canvas/wiki/_pages
-
npm install canvas
-
Run
npm run gitbook:export:pdf
A file book.pdf
will be generated in the root directory
npm install
fails for thegitbook-pdf
dependency. Here is a work-around: https://github.com/GitbookIO/gitbook-pdf/issues/23- removed
"gitbook-pdf": "^0.0.2",
as a dependency from package.json. Please manually installgitbook-pdf
until the issue can be resolved - Export PDF does not contain a
docker build --no-cache -t mojaloop/mojaloop-specifications .
docker push mojaloop/mojaloop-specifications
docker run --rm -it --name mojadoc -p 8989:8989 mojaloop/mojaloop-specifications