noteId | tags |
---|---|
5946a7d0add711ed8ba0d566f9e2e13f |
You're going to need:
- Node.js
- Fork this repository on Github.
- Clone your forked repository (not this original one) to your hard drive with
git clone https://github.com/YOURUSERNAME/node-slate.git
cd node-slate
- Initialize and start Slate:
npm install
npm run build
npm start
You can now see the docs at http://localhost:4567. Whoa! That was fast!
Compile documentation to static site in ./build
:
npm run build
Run a dev server that live-reloads at http://localhost:4567:
npm start
Publish your docs to origin/gh-pages
branch:
npm run deploy
Slate API documentation generation is also available as a Gulp task with the gulp-node-slate plugin.