I went through following steps:
- Install go and add $GOPATH env variable to a new empty directory.
- Install snowcrash. Parses markdown file according to apiblueprint spec.
Install mercurial. On a Mac using homebrew use: brew install hg
Install these Go modules:
go get bitbucket.org/pkg/inflect
go get github.com/hashicorp/go-version
go get github.com/russross/blackfriday
symlink this repo's generator directory to $GOPATH/src/generator
-
Run the html generator:
a.
cd $GOPATH/src/generator/main
b.
go run main.go -spec ~/projects/repo/filename.md -template ~/projects/repo/filename.tmpl -out test.html