convox/bin/docs
David Dollar 4710e02af8
docs: embed docs app and first pass at documentation (#81)
* stub out docs

* add docs app

* remove unused gcp code for packr

* handle toc ajax

* use SEGMENT_TOKEN for segment

* remove manual install directory

* docs first pass

* remove loggin docs for now

* remove webhooks docs for now

* tweak docs list to first pass intentions

* fix header links and add gen2
2020-01-31 14:10:34 -05:00

8 lines
167 B
Bash
Executable File

#!/bin/bash
if [ "$DEVELOPMENT" == "true" ]; then
exec watchexec -e go,md -r -s SIGTERM "make $GOPATH/bin/docs && $GOPATH/bin/docs"
else
exec $GOPATH/bin/docs
fi