Skip to content

Commit

Permalink
Docs: added new target (docs-next) to the docs' Makefile. (#3962)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
KMiller-Grafana authored Jul 8, 2021
1 parent 2e84bcf commit f653a93
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f653a93

Please sign in to comment.