search

Tuesday, May 31, 2016

Preview apiary.io docs

It is possible to preview apiary docs before pushing to the repository. To do that, install apiaryio CLI:
gem install apiaryio
The executable file of the installed application is located somewhere there:
/home/jsn/.gem/ruby/gems/apiaryio-0.3.3/bin/apiary
Generate html file to preview docs and open it in the browser:
/home/jsn/.gem/ruby/gems/apiaryio-0.3.3/bin/apiary preview --output="preview.html"

No comments:

Post a Comment