grafana/docs/Makefile
Jev Forsberg d5932760d9
Docs: Remove reliance on oneshell multiline feature for building transformation docs (#77514)
* baldm0mma/rem_oneshell_feat/ remove reliance on oneshell multiline feature

* Update docs/Makefile

update whitespace

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-11-01 11:20:22 -06:00

16 lines
634 B
Makefile

.ONESHELL:
.DELETE_ON_ERROR:
export SHELL := bash
export SHELLOPTS := pipefail:errexit
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rule
include docs.mk
.PHONY: sources/panels-visualizations/query-transform-data/transform-data/index.md
sources/panels-visualizations/query-transform-data/transform-data/index.md: ## Generate the Transform Data page source.
sources/panels-visualizations/query-transform-data/transform-data/index.md:
cd $(CURDIR)/.. && npx tsc ./scripts/docs/generate-transformations.ts && \
node ./scripts/docs/generate-transformations.js > $(CURDIR)/$@ && \
npx prettier -w $(CURDIR)/$@