From 14443ba2aaba35b46528f1a77ee70a60ef7ad2ba Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Wed, 15 Jul 2015 20:49:24 -0700 Subject: [PATCH] remove the preprocessing Signed-off-by: Sven Dowideit --- Dockerfile | 26 -------------------------- Makefile | 2 +- 2 files changed, 1 insertion(+), 27 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0ca2ca2fd2..1e8e17d565 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,29 +5,3 @@ MAINTAINER Mary Anthony (@moxiegirl) COPY . /src COPY . /docs/content/docker-trusted-registry/ - -WORKDIR /docs/content - -ADD touch-up.sh /docs/content/touch-up.sh -RUN /docs/content/touch-up.sh - -WORKDIR /docs - -# Sed to process GitHub Markdown -# 1-2 Remove comment code from metadata block -# 3 Change ](/word to ](/project/ in links -# 4 Change ](word.md) to ](/project/word) -# 5 Remove .md extension from link text -# 6 Change ](./ to ](/project/word) -# 7 Change ](../../ to ](/project/ -# 8 Change ](../ to ](/project/ -# -#RUN find /docs/content/docker-trusted-registry -type f -name "*.md" -exec sed -i.old \ -# -e '/^/g' \ -# -e '/^/g' \ -# -e 's/\(\]\)\([(]\)\(\/\)/\1\2\/docker-trusted-registry\//g' \ -# -e 's/\(\][(]\)\([A-z].*\)\(\.md\)/\1\/docker-trusted-registry\/\2/g' \ -# -e 's/\([(]\)\(.*\)\(\.md\)/\1\2/g' \ -# -e 's/\(\][(]\)\(\.\/\)/\1\/docker-trusted-registry\//g' \ -# -e 's/\(\][(]\)\(\.\.\/\.\.\/\)/\1\/docker-trusted-registry\//g' \ -# -e 's/\(\][(]\)\(\.\.\/\)/\1\/docker-trusted-registry\//g' {} \; diff --git a/Makefile b/Makefile index f4560ed3b4..44fafea532 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,7 @@ test: docs-build -v $(CURDIR):/docs/content/docker-trusted-registry/ \ -e DOCKERHOST "$(DOCKER_DOCS_IMAGE)" \ hugo server \ - --log=true --watch=true --buildDrafts=true \ + --log=true --watch=true \ --port=$(DOCSPORT) --baseUrl=$(HUGO_BASE_URL) --bind=$(HUGO_BIND_IP) docs: docs-build