From fe084ab45b3943803f08cac2c25249640d1abfb6 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Mon, 1 Feb 2016 15:15:24 -0800 Subject: [PATCH] Update the apidocs menu location for the new menu structure Signed-off-by: Sven Dowideit --- Dockerfile | 2 ++ Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index f78487068d..37b7b7641a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,3 +18,5 @@ COPY . /src COPY . /docs/content/$PROJECT/ +# This kludge only exists when run from the DTR repo (useful for testing) +RUN mv -f /docs/content/$PROJECT/apidocgen/ /docs/content/apidocs/ || true diff --git a/Makefile b/Makefile index 99d0c8edea..2ff2d8c9a7 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,9 @@ docs-build: # echo "$(GIT_BRANCH)" > GIT_BRANCH # echo "$(AWS_S3_BUCKET)" > AWS_S3_BUCKET # echo "$(GITCOMMIT)" > GITCOMMIT + # bring the generated apidocs into the context. + rm -rf ./apidocgen/ + cp -r ../apidocgen/output apidocgen docker build -t "$(DOCKER_DOCS_IMAGE)" . images: