|
|
@ -1,6 +1,6 @@ |
|
|
|
.PHONY: pull docs docs-quick docs-no-pull docs-test docs-local-static |
|
|
|
.PHONY: pull docs docs-quick docs-no-pull docs-test docs-local-static |
|
|
|
|
|
|
|
|
|
|
|
IMAGE = grafana/grafana-docs-dev:latest
|
|
|
|
IMAGE = grafana/docs-base:latest
|
|
|
|
CONTENT_PATH = /hugo/content/docs/grafana/next
|
|
|
|
CONTENT_PATH = /hugo/content/docs/grafana/next
|
|
|
|
LOCAL_STATIC_PATH = ../../website/static
|
|
|
|
LOCAL_STATIC_PATH = ../../website/static
|
|
|
|
PORT = 3002:3002
|
|
|
|
PORT = 3002:3002
|
|
|
@ -10,10 +10,7 @@ pull: |
|
|
|
|
|
|
|
|
|
|
|
docs: pull |
|
|
|
docs: pull |
|
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
|
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
|
|
|
|
|
|
|
|
|
|
|
docs-quick: pull |
|
|
|
|
|
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server-quick"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docs-no-pull: |
|
|
|
docs-no-pull: |
|
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
|
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
|
|
|
|
|
|
|
|
|
|
|