15 lines
659 B
Makefile
15 lines
659 B
Makefile
.PHONY: help
|
|
help: ## Displays this list of targets with descriptions
|
|
@echo "The following commands are available:\n"
|
|
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}'
|
|
|
|
.PHONY: docs
|
|
docs: ## Generate projects docs (from "Documentation" directory)
|
|
mkdir -p Documentation-GENERATED-temp
|
|
|
|
docker run --rm --pull always -v "$(shell pwd)":/project -t ghcr.io/typo3-documentation/render-guides:latest --config=Documentation
|
|
|
|
.PHONY: codesnippets
|
|
codesnippets: ## Regenerate automatic code snippets
|
|
.Build/vendor/bin/typo3 codesnippet:create Documentation/CodeSnippets/
|