Recently I've been writing a few tutorials for Twilio, so far it was a pleasant experience. It's always fun to play with a nice API in the languages you like, right?
The tool we're using to write these tutorials made our work easy. I enjoyed working with viewsaurus.
If you have to use this viewsaurus, here are the instructions to set it up.
You have installed Node.js.
-
Install viewsaurus package
$ npm install viewsaurus -g
-
Open your tutorial directory
$ cd path/to/your/repo
-
Checkout a new branch
gh-pages
, if it doesn't exist of course 😉$ git checkout -b gh-pages
-
Start the tutorial from scratch
$ saurus new
-
Authoring the tutorial
$ saurus author
-
Visit http://localhost:8080 to see the tutorial in action.
- Edit
tutorial/config.json
as appropriate for the project. - Update
tutorial/index.jade
as needed.
See Also