Skip to content

Commit 6bcba3e

Browse files
authored
docs fix serve-docs directive in makefile (#756)
Signed-off-by: emirot <[email protected]>
1 parent 0f3f8f9 commit 6bcba3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ $(GORELEASER): $(LOCALBIN)
304304

305305
.PHONY: serve-docs
306306
serve-docs:
307-
$(CONTAINER_TOOL) run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}:/docs -w /docs --entrypoint "" ${MKDOCS_DOCKER_IMAGE} sh -c 'pip install mkdocs; pip install $$(mkdocs get-deps); mkdocs serve -a $$(ip route get 1 | awk '\''{print $$7}'\''):8000'
307+
$(CONTAINER_TOOL) run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}:/docs -w /docs --entrypoint "" ${MKDOCS_DOCKER_IMAGE} sh -c 'pip install -r docs/requirements.txt; mkdocs serve -a $$(ip route get 1 | awk '\''{print $$7}'\''):8000'
308308

309309
.PHONY: lint-docs
310310
lint-docs: ## Build docs and fail if there are warnings

0 commit comments

Comments
 (0)