Skip to content

Commit f7e2896

Browse files
committed
Add hot reloading to Makefile
1 parent 60df867 commit f7e2896

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ docs: ## Generate projects documentation (from "Documentation" directory)
99

1010
docker run --user $(shell id -u):$(shell id -g) --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
1111

12+
docs-hot: ## Generate projects documentation with hot reloading
13+
docker run --rm -it --pull always \
14+
-v "./Documentation:/project/Documentation" \
15+
-v "./Documentation-GENERATED-temp:/project/Documentation-GENERATED-temp" \
16+
-p 1337:1337 ghcr.io/typo3-documentation/render-guides:latest --config="Documentation" --watch
17+
1218
.PHONY: test-docs
1319
test-docs: ## Test the documentation rendering
1420
mkdir -p Documentation-GENERATED-temp

0 commit comments

Comments
 (0)