mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
ac9cbbc02b
* Docs: Initial docs for State timeline visualization * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Update docs/sources/panels/visualizations/state-timeline.md Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> * Changed format for options from table to headings * Updated what's new * restore naming to Visualization options * Update docs/sources/whatsnew/whats-new-in-v8-0.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Update docs/sources/whatsnew/whats-new-in-v8-0.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com> Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
28 lines
1.2 KiB
Makefile
28 lines
1.2 KiB
Makefile
.PHONY: pull docs docs-quick docs-no-pull docs-test docs-local-static
|
|
|
|
IMAGE = grafana/grafana-docs-dev:latest
|
|
CONTENT_PATH = /hugo/content/docs/grafana/next
|
|
LOCAL_STATIC_PATH = ../../website/static
|
|
PORT = 3002:3002
|
|
|
|
pull:
|
|
docker pull $(IMAGE)
|
|
|
|
docs: pull
|
|
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 "ln -s /frontend-docs/packages_api /hugo/content/docs/grafana/next/packages_api && make server-quick"
|
|
|
|
docs-no-pull:
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z -p $(PORT) --rm -it $(IMAGE) /bin/bash -c "make server"
|
|
|
|
docs-test: pull
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z --rm -it $(IMAGE) /bin/bash -c 'make prod'
|
|
|
|
# expects that you have grafana/website checked out in same path as the grafana repo.
|
|
docs-local-static: pull
|
|
if [ ! -d "$(LOCAL_STATIC_PATH)" ]; then echo "local path (website project) $(LOCAL_STATIC_PATH) not found"]; exit 1; fi
|
|
docker run -v $(shell pwd)/sources:$(CONTENT_PATH):Z \
|
|
-v $(shell pwd)/$(LOCAL_STATIC_PATH):/hugo/static:Z -p $(PORT) --rm -it $(IMAGE)
|