Skip to content

Commit

Permalink
fixes local docs development
Browse files Browse the repository at this point in the history
  • Loading branch information
BugRoger committed Dec 14, 2017
1 parent 99c4279 commit e5f2d7e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ push:
docker push sapcc/kubernikus-kubectl:$(VERSION)
docker push sapcc/kubernikus-kubectl:latest

documentation:
docker build $(BUILD_ARGS) -t sapcc/kubernikus-docs-builder:$(VERSION) --cache-from=sapcc/kubernikus-docs-builder:latest ./contrib/kubernikus-docs-builder
docker build $(BUILD_ARGS) -t sapcc/kubernikus-docs:$(VERSION) -f Dockerfile.kubernikus-docs .
docker tag sapcc/kubernikus-docs:$(VERSION) sapcc/kubernikus-docs:latest

gh-pages:
docker run --name gh-pages sapcc/kubernikus-docs:$(VERSION) /bin/true
docker cp gh-pages:/public/kubernikus gh-pages
Expand Down
3 changes: 3 additions & 0 deletions docs/development/changing_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ It constists of 2 parts:
A live preview for development can be started with:

```
make documentation
...
docker run --rm -ti -p 1313:1313 \
-v $PWD/contrib/kubernikus-docs-builder/data:/live \
-v $PWD/docs/:/live/content \
Expand Down

0 comments on commit e5f2d7e

Please sign in to comment.