Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 865 Bytes

API.md

File metadata and controls

28 lines (17 loc) · 865 Bytes

How to generate API documentation locally

You can generate documentation a couple ways:

Apiary Client

Apiary Client needs Ruby to run.

You can install the Apiary Client by running:

gem install apiaryio

You can now run the server:

apiary preview --path=blueprint/api.apib --server

This runs an Apiary CLI server on port 8080. You can visit the documentation by visiting localhost:8080 in your browser. Just refresh the page whenever you make changes to the documentation file at /blueprint/api.apib.

Atom

If you're developing with Atom, you can also use the API Blueprint Preview package to preview your blueprint changes in realtime.