-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathMakefile
21 lines (14 loc) · 869 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: help
help:
@perl -nle'print $& if m{^[a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
yarn-install: .PHONY
yarn --immutable
web: ## runs the docs site locally
yarn dev
sync-docs: sync-console-crd-docs sync-operator-crd-docs sync-liquid-docs
sync-console-crd-docs:
curl -L https://raw.githubusercontent.com/pluralsh/console/master/go/controller/docs/api.md --output pages/01-overview/03-management-api-reference.md
sync-operator-crd-docs:
curl -L https://raw.githubusercontent.com/pluralsh/deployment-operator/main/docs/api.md --output pages/01-overview/04-agent-api-reference.md
sync-liquid-docs:
curl -L https://raw.githubusercontent.com/pluralsh/polly/main/docs/liquid-filters.md --output pages/03-plural-features/08-service-templating/01-supporting-liquid-filters.md