Фиксация версии squidfunk/mkdocs-material:9.6.20

Исправляет live-reloading. Подробности: https://github.com/squidfunk/mkdocs-material/issues/8478
This commit is contained in:
2025-11-22 14:43:05 +08:00
parent 782a787f1c
commit 2b211b3cda

View File

@@ -1,8 +1,19 @@
live:
@docker run --rm -it -p 3000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
@echo "Open http://localhost:3000 to see live preview"
@docker run \
--pull always \
--rm \
--interactive \
--tty \
-p 3000:8000 \
-v ${PWD}:/docs \
squidfunk/mkdocs-material:9.6.20
build:
@docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build -v
@echo "Open http://localhost:8080/docs to see compiled documentation"
@docker run \
--pull always \
--rm \
--interactive \
--tty \
-v ${PWD}:/docs \
squidfunk/mkdocs-material:9.6.20 build --verbose