Last active
September 26, 2024 22:57
-
-
Save developit/04ad7ac878b5fa35e76e to your computer and use it in GitHub Desktop.
Publish your docs instantly using gist & documentation-viewer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gist CLI: defunkt/gist
Documentation Viewer: documentation-viewer.firebaseapp.com (developit/documentation-viewer)