Skip to content

Commit

Permalink
remove apidocs/layouts after build (docker#1357)
Browse files Browse the repository at this point in the history
* remove apidocs/layouts after build

Signed-off-by: Adrien Duermael <[email protected]>

* fixed keywords in swarm_manager_locking.md

Signed-off-by: Adrien Duermael <[email protected]>
  • Loading branch information
Adrien Duermael authored and johndmulhausen committed Jan 24, 2017
1 parent 62c2c7e commit 6129c4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +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 \
&& 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' \
&& rm -rf allv
Expand Down
3 changes: 1 addition & 2 deletions engine/swarm/swarm_manager_locking.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
description: Automatically lock Swarm managers to protect encryption keys
keywords:
- swarm, manager, lock, unlock, autolock, encryption
keywords: swarm, manager, lock, unlock, autolock, encryption
title: Lock your swarm to protect its encryption key
---

Expand Down

0 comments on commit 6129c4c

Please sign in to comment.