# SETUP: install documentation.js: npm i -g documentation browser-pipe # SETUP: install gist cli (github.com/defunkt/gist) brew install gist # generate docs, upload to gist.github.com, then pipe the Gist URL to Documentation Viewer in your browser: documentation src | gist -p -f docs.json | awk '{print "https://documentation-viewer.firebaseapp.com/#"$1}' | browser-pipe