fix: live-docs script (#10928)
This commit updates the live-docs script in the Makefile to install the necessary dependencies for running mkdocs, before starting it.
This commit is contained in:
parent
701fc531d5
commit
cb47c44670
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -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 \
|
@docker run ${PLATFORM_FLAG} ${PLATFORM} --rm -it \
|
||||||
-p 8000:8000 \
|
-p 8000:8000 \
|
||||||
-v ${PWD}:/docs \
|
-v ${PWD}:/docs \
|
||||||
--entrypoint mkdocs \
|
--entrypoint /bin/bash \
|
||||||
ingress-nginx-docs serve --dev-addr=0.0.0.0:8000
|
ingress-nginx-docs \
|
||||||
|
-c "pip install -r /docs/docs/requirements.txt && mkdocs serve --dev-addr=0.0.0.0:8000"
|
||||||
|
|
||||||
.PHONY: misspell
|
.PHONY: misspell
|
||||||
misspell: ## Check for spelling errors.
|
misspell: ## Check for spelling errors.
|
||||||
|
|
Loading…
Reference in a new issue