mirror of
https://github.com/gravitational/teleport
synced 2024-10-22 18:23:25 +00:00
14 lines
382 B
Bash
Executable file
14 lines
382 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# IMPORTANT! To add a new version, say 8.1
|
|
# * copy 2.3.yaml to 8.1.yaml
|
|
# * edit 8.1.yaml
|
|
# * edit theme/base.html and update docVersions variable
|
|
PORT=6600
|
|
|
|
cd $(dirname $0)
|
|
./build.sh || exit $?
|
|
|
|
echo -e "\n\n----> LIVE EDIT HERE: http://localhost:$PORT/admin-guide/\n"
|
|
mkdocs serve --livereload --config-file=latest.yaml --dev-addr=0.0.0.0:$PORT & wait
|