Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOCS] Update docs dependency versions and remove unneeded arguments #2524

Merged
merged 6 commits into from
Aug 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,15 @@ docs-container:
# shell).
.PHONY: docs-build
docs-build: docs-container
docker run -v $(PWD):/m3db --rm m3db-docs "mkdocs build -e docs/theme -t material"
docker run -v $(PWD):/m3db --rm m3db-docs "mkdocs build -t material"

.PHONY: docs-serve
docs-serve: docs-container
docker run -v $(PWD):/m3db -p 8000:8000 -it --rm m3db-docs "mkdocs serve -e docs/theme -t material -a 0.0.0.0:8000"
docker run -v $(PWD):/m3db -p 8000:8000 -it --rm m3db-docs "mkdocs serve -t material -a 0.0.0.0:8000"

.PHONY: docs-deploy
docs-deploy: docs-container
docker run -v $(PWD):/m3db --rm -v $(HOME)/.ssh/id_rsa:/root/.ssh/id_rsa:ro -it m3db-docs "mkdocs build -e docs/theme -t material && mkdocs gh-deploy --force --dirty"
docker run -v $(PWD):/m3db --rm -v $(HOME)/.ssh/id_rsa:/root/.ssh/id_rsa:ro -it m3db-docs "mkdocs build -t material && mkdocs gh-deploy --force --dirty"

.PHONY: docs-validate
docs-validate: docs_test
Expand Down
5 changes: 2 additions & 3 deletions docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ EXPOSE 8000
# mkdocs needs git-fast-import which was stripped from the default git package
# by default to reduce size
RUN pip install \
mkdocs==0.17.3 \
pymdown-extensions==6.0 \
mkdocs-material==2.7.3
nltk==3.4.5 \
mkdocs-material==5.5.3
RUN apk add --no-cache git-fast-import openssh-client
ENTRYPOINT [ "/bin/ash", "-c" ]