Skip to content

Commit ce276d4

Browse files
Update /docs/k6 redirect to latest (#1974)
* Update /docs/k6 redirect to latest * Add mount variable so latest semver is rendered at /docs/k6/latest/ Signed-off-by: Jack Baldry <[email protected]> --------- Signed-off-by: Jack Baldry <[email protected]> Co-authored-by: Jack Baldry <[email protected]>
1 parent 9256d9f commit ce276d4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/sources/k6/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Grafana k6 documentation
33
menuTitle: Grafana k6
44
description: The k6 documentation covers everything you need to know about k6 OSS, load testing, and performance testing.
55
type: redirect
6-
redirectURL: /docs/k6/next/ # needed for local dev only
6+
redirectURL: /docs/k6/latest/ # needed for local dev only
77
weight: 1
88
layout: project
99
cms_docs: true

docs/variables.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@
55
# The sources are found relative to thecurrent repository checkout determined by the name of the directory of the Git root.
66
# This overrides the default behavior of assuming the repository directory is the same as the project name.
77
PROJECTS := k6-studio:UNVERSIONED:$(notdir $(basename $(shell git rev-parse --show-toplevel))):docs/sources/k6-studio k6:UNVERSIONED:$(notdir $(basename $(shell git rev-parse --show-toplevel))):docs/sources/k6
8+
9+
export WEBSITE_MOUNTS := true

0 commit comments

Comments
 (0)