Docs: fix broken link to moved content (#77147)
* Remove docs/reference shortcode for moved content * Updated transformers content file * Updated README.md to make Transformations section more prominent * Updated index file to make super clear where you must update this content * Added doc/ref back in with new format * Removed bracket * Added missing quotation marks * Added reference style link and removed link from docs/ref shortcode * Updated link * Add warning to only use reference style links in content.ts * ihm/251023-link-fix/ update scripts/docs/generate-transformations.ts with proposed changes, and build markdown * ihm/251023-link-fix/ build docs * Fix extraneous whitespace Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Add precheck for ONESHELL support Otherwise the recipe doesn't work. Signed-off-by: Jack Baldry <jack.baldry@grafana.com> --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: jev forsberg <jev.forsberg@grafana.com> Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
co-authored by
jev forsberg
Jack Baldry
parent
39a30b0c01
commit
89f63dcddb
+9
-2
@@ -7,10 +7,17 @@ MAKEFLAGS += --no-builtin-rule
|
||||
|
||||
include docs.mk
|
||||
|
||||
PRECHECK :=
|
||||
ifneq ($(filter oneshell,$(.FEATURES)),)
|
||||
else
|
||||
$(error This Makefile requires GNU Make version 4 or higher)
|
||||
endif
|
||||
|
||||
.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:
|
||||
@$(PRECHECK)
|
||||
cd $(CURDIR)/..
|
||||
npx tsc ../scripts/docs/generate-transformations.ts
|
||||
node ../scripts/docs/generate-transformations.js > $(CURDIR)/$@
|
||||
npx tsc ./scripts/docs/generate-transformations.ts
|
||||
node ./scripts/docs/generate-transformations.js > $(CURDIR)/$@
|
||||
npx prettier -w $(CURDIR)/$@
|
||||
|
||||
Reference in New Issue
Block a user