From f653a93d4291805381e7fb3a856e44d60cb5ddfe Mon Sep 17 00:00:00 2001 From: Karen Miller <84039272+KMiller-Grafana@users.noreply.github.com> Date: Thu, 8 Jul 2021 07:02:55 -0700 Subject: [PATCH] Docs: added new target (docs-next) to the docs' Makefile. (#3962) This target builds local docs as they should look for commits that are placed into the main branch, showing the next up, but not yet released Loki docs. --- docs/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Makefile b/docs/Makefile index 7c2e28d433c40..ae278d2b8bf3b 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -5,6 +5,11 @@ docs: docker pull ${IMAGE} docker run --rm -it -v ${PWD}/sources:/hugo/content/docs/loki/latest -p 3002:3002 $(IMAGE) /bin/bash -c 'mkdir -p content/docs/grafana/latest/ && touch content/docs/grafana/latest/menu.yaml && make server-quick' +.PHONY: docs-next +docs-next: + docker pull ${IMAGE} + docker run --rm -it -v ${PWD}/sources:/hugo/content/docs/loki/next -p 3002:3002 $(IMAGE) /bin/bash -c 'mkdir -p content/docs/grafana/next/ && touch content/docs/grafana/next/menu.yaml && make server-quick' + .PHONY: docs-test docs-test: docker pull ${IMAGE}