Фиксация версии squidfunk/mkdocs-material:9.6.20
Исправляет live-reloading. Подробности: https://github.com/squidfunk/mkdocs-material/issues/8478
This commit is contained in:
19
Makefile
19
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user