Skip to content

Commit aaa87a7

Browse files
Update make docs procedure (#3963)
Co-authored-by: grafanabot <[email protected]>
1 parent e7b00eb commit aaa87a7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/docs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ update: ## Fetch the latest version of this Makefile and the `make-docs` script
125125
TOPIC_TYPES := concept multiple-tasks reference section task tutorial visualization
126126
.PHONY: $(patsubst %,topic/%,$(TOPIC_TYPES))
127127
topic/%: ## Create a topic from the Writers' Toolkit template. Specify the topic type as the target, for example, `make topic/task TOPIC_PATH=sources/my-new-topic.md`.
128-
topic/%:
128+
$(patsubst %,topic/%,$(TOPIC_TYPES)):
129129
$(if $(TOPIC_PATH),,$(error "You must set the TOPIC_PATH variable to the path where the $(@F) topic will be created. For example: make $(@) TOPIC_PATH=sources/my-new-topic.md"))
130130
mkdir -p $(dir $(TOPIC_PATH))
131131
curl -s -o $(TOPIC_PATH) https://raw.githubusercontent.com/grafana/writers-toolkit/refs/heads/main/docs/static/templates/$(@F)-template.md

docs/make-docs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
# [Semantic versioning](https://semver.org/) is used to help the reader identify the significance of changes.
99
# Changes are relevant to this script and the support docs.mk GNU Make interface.
1010
#
11+
# ## 8.5.2 (2025-02-28)
12+
#
13+
# ### Fixed
14+
#
15+
# - topic/<KIND> targets are no longer no-ops as a result of 8.5.1.
16+
#
1117
# ## 8.5.1 (2025-02-18)
1218
#
1319
# ### Fixed

0 commit comments

Comments
 (0)