From 2b211b3cda245b5c81959c1b5e14db8a6b08c49f Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Sat, 22 Nov 2025 14:43:05 +0800 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=D0=B0=D1=86=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B2=D0=B5=D1=80=D1=81=D0=B8=D0=B8=20squidfunk/mkdoc?= =?UTF-8?q?s-material:9.6.20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Исправляет live-reloading. Подробности: https://github.com/squidfunk/mkdocs-material/issues/8478 --- Makefile | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6e1b0d8..5f6603f 100644 --- a/Makefile +++ b/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