mirror of https://github.com/docker/docs.git
remove apidocs/layouts after build (#1357)
* remove apidocs/layouts after build Signed-off-by: Adrien Duermael <adrien@duermael.com> * fixed keywords in swarm_manager_locking.md Signed-off-by: Adrien Duermael <adrien@duermael.com>
This commit is contained in:
parent
62c2c7eb1a
commit
6129c4c255
|
@ -44,6 +44,7 @@ RUN svn co https://github.com/docker/docker/branches/$ENGINE_BRANCH/docs/extend
|
||||||
&& rm -rf allv/tests \
|
&& rm -rf allv/tests \
|
||||||
&& wget -O allv/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
|
&& 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 \
|
&& jekyll build -s allv -d allvbuild \
|
||||||
|
&& rm -rf allv/apidocs/layouts \
|
||||||
&& find allvbuild/engine/reference -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \
|
&& find allvbuild/engine/reference -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \
|
||||||
&& find allvbuild/engine/extend -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \
|
&& find allvbuild/engine/extend -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \
|
||||||
&& rm -rf allv
|
&& rm -rf allv
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
description: Automatically lock Swarm managers to protect encryption keys
|
description: Automatically lock Swarm managers to protect encryption keys
|
||||||
keywords:
|
keywords: swarm, manager, lock, unlock, autolock, encryption
|
||||||
- swarm, manager, lock, unlock, autolock, encryption
|
|
||||||
title: Lock your swarm to protect its encryption key
|
title: Lock your swarm to protect its encryption key
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue