Remove custom docs script
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
487eae3b7b
commit
430ba8cda3
1 changed files with 0 additions and 11 deletions
11
script/docs
11
script/docs
|
|
@ -1,11 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# import the existing docs build cmds from docker/docker
|
|
||||||
DOCSPORT=8000
|
|
||||||
GIT_BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null)
|
|
||||||
DOCKER_DOCS_IMAGE="compose-docs$GIT_BRANCH"
|
|
||||||
DOCKER_RUN_DOCS="docker run --rm -it -e NOCACHE"
|
|
||||||
|
|
||||||
docker build -t "$DOCKER_DOCS_IMAGE" -f docs/Dockerfile .
|
|
||||||
$DOCKER_RUN_DOCS -p $DOCSPORT:8000 "$DOCKER_DOCS_IMAGE" mkdocs serve
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue