Skip to content

Commit

Permalink
fix: live-docs script
Browse files Browse the repository at this point in the history
This commit updates the live-docs script in the Makefile to install the necessary dependencies for running mkdocs, before starting it.
  • Loading branch information
domdomegg committed Jan 28, 2024
1 parent 5acc423 commit 60218f7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,9 @@ live-docs: ## Build and launch a local copy of the documentation website in http
@docker run ${PLATFORM_FLAG} ${PLATFORM} --rm -it \
-p 8000:8000 \
-v ${PWD}:/docs \
--entrypoint mkdocs \
ingress-nginx-docs serve --dev-addr=0.0.0.0:8000
--entrypoint /bin/bash \
ingress-nginx-docs \
-c "pip install -r /docs/docs/requirements.txt && mkdocs serve --dev-addr=0.0.0.0:8000"

.PHONY: misspell
misspell: ## Check for spelling errors.
Expand Down

0 comments on commit 60218f7

Please sign in to comment.