mirror of https://github.com/docker/docs.git
remove apidocs/layout after jekyll build
Signed-off-by: Adrien Duermael <adrien@duermael.com>
This commit is contained in:
parent
e2ec727c90
commit
edf388efc9
|
@ -44,7 +44,7 @@ RUN svn co https://github.com/docker/docker/branches/$ENGINE_BRANCH/docs/extend
|
|||
&& rm -rf allv/tests \
|
||||
&& wget -O allv/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
|
||||
&& jekyll build -s allv -d allvbuild \
|
||||
&& rm -rf allv/apidocs/layouts \
|
||||
&& rm -rf allvbuild/apidocs/layouts \
|
||||
&& find allvbuild -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \
|
||||
&& rm -rf allv
|
||||
|
||||
|
|
Loading…
Reference in New Issue