Automatically rewrite links to localhost when developing on docs locally.

This commit is contained in:
Dan Helfman
2019-10-14 13:13:41 -07:00
parent 7b3b28616d
commit b1941bcce9
3 changed files with 10 additions and 4 deletions
+1 -2
View File
@@ -2,9 +2,8 @@
set -e
docker build --tag borgmatic-docs --file docs/Dockerfile .
docker build --tag borgmatic-docs --build-arg ENVIRONMENT=dev --file docs/Dockerfile .
echo
echo "You can view dev docs at http://localhost:8080"
echo "Note that links within these docs will go to the online docs, so you will need to fiddle with URLs manually to stay in the dev docs."
echo
docker run --interactive --tty --publish 8080:80 --rm borgmatic-docs