Skip to content

Commit ee9a9da

Browse files
authored
Merge pull request #1888 from grafana/robbymilo/relref-replace
relref replace - k6
2 parents d2d42fa + 8043626 commit ee9a9da

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+101
-101
lines changed

docs/sources/k6/next/extensions/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Expand the potential use cases for k6.
1111
## Quickstart
1212

1313
<div class="nav-cards">
14-
<a href={{< relref "./explore" >}} class="nav-cards__item nav-cards__item--guide">
14+
<a href=explore/ class="nav-cards__item nav-cards__item--guide">
1515
<h4>🔎 Explore</h4>
1616
<p>A list of more than 50 available extensions.</p>
1717
</a>
18-
<a href={{< relref "./build-k6-binary-using-go" >}} class="nav-cards__item nav-cards__item--guide">
18+
<a href=build-k6-binary-using-go/ class="nav-cards__item nav-cards__item--guide">
1919
<h4>🧩 Bundle</h4>
2020
<p>Combine multiple extensions into a custom k6 binary.</p>
2121
</a>
22-
<a href={{< relref "./create/" >}} class="nav-cards__item nav-cards__item--guide">
22+
<a href=create/ class="nav-cards__item nav-cards__item--guide">
2323
<h4>🏗️ Create</h4>
2424
<p>Learn how to make your own k6 extension.</p>
2525
</a>

docs/sources/k6/next/shared/blocking-aws-blockquote.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: jslib/aws module blocking admonition
77
In some cases, using this library&apos;s operations might impact performance and skew your test results.
88
<br>
99
<br>
10-
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions]({{< relref "../using-k6/test-lifecycle" >}}). These functions run before and after the test run and have no impact on the test results.
10+
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions](/docs/k6/<K6_VERSION>/using-k6/test-lifecycle). These functions run before and after the test run and have no impact on the test results.
1111

1212
{{< /admonition >}}

docs/sources/k6/next/shared/crypto-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/crypto module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/webcrypto API]({{< relref "../javascript-api/k6-experimental/webcrypto" >}}) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto]({{< relref "../javascript-api/k6-crypto" >}}).
10+
The new [k6/experimental/webcrypto API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/webcrypto/) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto](/docs/k6/<K6_VERSION>/javascript-api/k6-crypto/).
1111

1212
{{< /admonition >}}

docs/sources/k6/next/shared/experimental-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Experimental module admonition
77
This is an experimental module.
88
<br>
99
<br>
10-
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process]({{< relref "../extensions/explanations/extension-graduation" >}}).
10+
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process](/docs/k6/<K6_VERSION>/extensions/explanations/extension-graduation/).
1111
<br>
1212
<br>
1313
Experimental modules maintain a high level of stability and follow regular maintenance and security measures. Feel free to [open an issue](https://github.com/grafana/k6/issues) if you have any feedback or suggestions.

docs/sources/k6/next/shared/ws-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: k6/ws module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/websockets API]({{< relref "../javascript-api/k6-experimental/websockets" >}}) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
10+
The new [k6/experimental/websockets API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/websockets/) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
1111
<br>
1212
<br>
1313
When possible, we recommend using the new API. It uses a global event loop for consistency with other k6 APIs and better performance.

docs/sources/k6/v0.47.x/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ This documentation will help you go from a total beginner to a seasoned k6 exper
1414
## Get started
1515

1616
<div class="nav-cards">
17-
<a href={{< relref "./get-started/installation" >}} class="nav-cards__item nav-cards__item--guide">
17+
<a href=get-started/installation/ class="nav-cards__item nav-cards__item--guide">
1818
<h4>🚀 Installation</h4>
1919
<p>Get up and running in no-time, using either a package manager, standalone installer or the official Docker image.</p>
2020
</a>
21-
<a href={{< relref "./get-started/running-k6" >}} class="nav-cards__item nav-cards__item--guide">
21+
<a href=get-started/running-k6/ class="nav-cards__item nav-cards__item--guide">
2222
<h4>🏎️💨 Running k6</h4>
2323
<p>Write and execute your first load test locally using JavaScript and the k6 API, adding multiple virtual users, checks and ramping stages.</p>
2424
</a>
25-
<a href={{< relref "./get-started/results-output" >}} class="nav-cards__item nav-cards__item--guide">
25+
<a href=get-started/results-output/ class="nav-cards__item nav-cards__item--guide">
2626
<h4>⏱ Results output</h4>
2727
<p>Learn how to leverage the results output to gain actionable insight about your application's performance.</p>
2828
</a>

docs/sources/k6/v0.47.x/extensions/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Expand the potential use cases for k6.
1111
## Quickstart
1212

1313
<div class="nav-cards">
14-
<a href={{< relref "./explore" >}} class="nav-cards__item nav-cards__item--guide">
14+
<a href=explore/ class="nav-cards__item nav-cards__item--guide">
1515
<h4>🔎 Explore</h4>
1616
<p>A list of more than 50 available extensions.</p>
1717
</a>
18-
<a href={{< relref "./build-k6-binary-using-go" >}} class="nav-cards__item nav-cards__item--guide">
18+
<a href=build-k6-binary-using-go/ class="nav-cards__item nav-cards__item--guide">
1919
<h4>🧩 Bundle</h4>
2020
<p>Combine multiple extensions into a custom k6 binary.</p>
2121
</a>
22-
<a href={{< relref "./create/" >}} class="nav-cards__item nav-cards__item--guide">
22+
<a href=create/ class="nav-cards__item nav-cards__item--guide">
2323
<h4>🏗️ Create</h4>
2424
<p>Learn how to make your own k6 extension.</p>
2525
</a>

docs/sources/k6/v0.47.x/shared/blocking-aws-blockquote.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: jslib/aws module blocking admonition
77
In some cases, using this library&apos;s operations might impact performance and skew your test results.
88
<br>
99
<br>
10-
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions]({{< relref "../using-k6/test-lifecycle" >}}). These functions run before and after the test run and have no impact on the test results.
10+
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions](/docs/k6/<K6_VERSION>/using-k6/test-lifecycle/). These functions run before and after the test run and have no impact on the test results.
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.47.x/shared/crypto-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/crypto module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/webcrypto API]({{< relref "../javascript-api/k6-experimental/webcrypto" >}}) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto]({{< relref "../javascript-api/k6-crypto" >}}).
10+
The new [k6/experimental/webcrypto API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/webcrypto/) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto](/docs/k6/<K6_VERSION>/javascript-api/k6-crypto/).
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.47.x/shared/experimental-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Experimental module admonition
77
This is an experimental module.
88
<br>
99
<br>
10-
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process]({{< relref "../extensions/explanations/extension-graduation" >}}).
10+
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process](/docs/k6/<K6_VERSION>/extensions/explanations/extension-graduation/).
1111
<br>
1212
<br>
1313
Experimental modules maintain a high level of stability and follow regular maintenance and security measures. Feel free to [open an issue](https://github.com/grafana/k6/issues) if you have any feedback or suggestions.

docs/sources/k6/v0.47.x/shared/grpc-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/grpc module admonition
77
A module with streaming support exists.
88
<br>
99
<br>
10-
The new [k6/experimental/grpc]({{< relref "../javascript-api/k6-experimental/grpc" >}}) module extends [k6/net/grpc]({{< relref "../javascript-api/k6-net-grpc" >}}) to support [gRPC streaming]({{< relref "../javascript-api/k6-experimental/grpc/stream" >}}). We recommend using the new module.
10+
The new [k6/experimental/grpc](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/grpc/) module extends [k6/net/grpc](/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc/) to support [gRPC streaming](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/grpc/stream/). We recommend using the new module.
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.47.x/shared/ws-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: k6/ws module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/websockets API]({{< relref "../javascript-api/k6-experimental/websockets" >}}) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
10+
The new [k6/experimental/websockets API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/websockets/) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
1111
<br>
1212
<br>
1313
When possible, we recommend using the new API. It uses a global event loop for consistency with other k6 APIs and better performance.

docs/sources/k6/v0.48.x/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ This documentation will help you go from a total beginner to a seasoned k6 exper
1414
## Get started
1515

1616
<div class="nav-cards">
17-
<a href={{< relref "./get-started/installation" >}} class="nav-cards__item nav-cards__item--guide">
17+
<a href=get-started/installation/ class="nav-cards__item nav-cards__item--guide">
1818
<h4>🚀 Installation</h4>
1919
<p>Get up and running in no-time, using either a package manager, standalone installer or the official Docker image.</p>
2020
</a>
21-
<a href={{< relref "./get-started/running-k6" >}} class="nav-cards__item nav-cards__item--guide">
21+
<a href=get-started/running-k6/ class="nav-cards__item nav-cards__item--guide">
2222
<h4>🏎️💨 Running k6</h4>
2323
<p>Write and execute your first load test locally using JavaScript and the k6 API, adding multiple virtual users, checks and ramping stages.</p>
2424
</a>
25-
<a href={{< relref "./get-started/results-output" >}} class="nav-cards__item nav-cards__item--guide">
25+
<a href=get-started/results-output/ class="nav-cards__item nav-cards__item--guide">
2626
<h4>⏱ Results output</h4>
2727
<p>Learn how to leverage the results output to gain actionable insight about your application's performance.</p>
2828
</a>

docs/sources/k6/v0.48.x/extensions/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Expand the potential use cases for k6.
1111
## Quickstart
1212

1313
<div class="nav-cards">
14-
<a href={{< relref "./explore" >}} class="nav-cards__item nav-cards__item--guide">
14+
<a href=explore/ class="nav-cards__item nav-cards__item--guide">
1515
<h4>🔎 Explore</h4>
1616
<p>A list of more than 50 available extensions.</p>
1717
</a>
18-
<a href={{< relref "./build-k6-binary-using-go" >}} class="nav-cards__item nav-cards__item--guide">
18+
<a href=build-k6-binary-using-go/ class="nav-cards__item nav-cards__item--guide">
1919
<h4>🧩 Bundle</h4>
2020
<p>Combine multiple extensions into a custom k6 binary.</p>
2121
</a>
22-
<a href={{< relref "./create/" >}} class="nav-cards__item nav-cards__item--guide">
22+
<a href=create/ class="nav-cards__item nav-cards__item--guide">
2323
<h4>🏗️ Create</h4>
2424
<p>Learn how to make your own k6 extension.</p>
2525
</a>

docs/sources/k6/v0.48.x/shared/blocking-aws-blockquote.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: jslib/aws module blocking admonition
77
In some cases, using this library&apos;s operations might impact performance and skew your test results.
88
<br>
99
<br>
10-
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions]({{< relref "../using-k6/test-lifecycle" >}}). These functions run before and after the test run and have no impact on the test results.
10+
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions](/docs/k6/<K6_VERSION>/using-k6/test-lifecycle/). These functions run before and after the test run and have no impact on the test results.
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.48.x/shared/crypto-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/crypto module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/webcrypto API]({{< relref "../javascript-api/k6-experimental/webcrypto" >}}) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto]({{< relref "../javascript-api/k6-crypto" >}}).
10+
The new [k6/experimental/webcrypto API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/webcrypto/) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto](/docs/k6/<K6_VERSION>/javascript-api/k6-crypto/).
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.48.x/shared/experimental-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: Experimental module admonition
77
This is an experimental module.
88
<br>
99
<br>
10-
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process]({{< relref "../extensions/explanations/extension-graduation" >}}).
10+
While we intend to keep experimental modules as stable as possible, we may need to introduce breaking changes. This could happen at future k6 releases until the module becomes fully stable and graduates as a k6 core module. For more information, refer to the [extension graduation process](/docs/k6/<K6_VERSION>/extensions/explanations/extension-graduation/).
1111
<br>
1212
<br>
1313
Experimental modules maintain a high level of stability and follow regular maintenance and security measures. Feel free to [open an issue](https://github.com/grafana/k6/issues) if you have any feedback or suggestions.

docs/sources/k6/v0.48.x/shared/grpc-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/grpc module admonition
77
A module with streaming support exists.
88
<br>
99
<br>
10-
The new [k6/experimental/grpc]({{< relref "../javascript-api/k6-experimental/grpc" >}}) module extends [k6/net/grpc]({{< relref "../javascript-api/k6-net-grpc" >}}) to support [gRPC streaming]({{< relref "../javascript-api/k6-experimental/grpc/stream" >}}). We recommend using the new module.
10+
The new [k6/experimental/grpc](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/grpc/) module extends [k6/net/grpc](/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc/) to support [gRPC streaming](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/grpc/stream/). We recommend using the new module.
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.48.x/shared/ws-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: k6/ws module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/websockets API]({{< relref "../javascript-api/k6-experimental/websockets" >}}) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
10+
The new [k6/experimental/websockets API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/websockets/) partially implements the [WebSockets API living standard](https://websockets.spec.whatwg.org/).
1111
<br>
1212
<br>
1313
When possible, we recommend using the new API. It uses a global event loop for consistency with other k6 APIs and better performance.

docs/sources/k6/v0.49.x/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ This documentation will help you go from a total beginner to a seasoned k6 exper
1414
## Get started
1515

1616
<div class="nav-cards">
17-
<a href={{< relref "./get-started/installation" >}} class="nav-cards__item nav-cards__item--guide">
17+
<a href=get-started/installation/ class="nav-cards__item nav-cards__item--guide">
1818
<h4>🚀 Installation</h4>
1919
<p>Get up and running in no-time, using either a package manager, standalone installer or the official Docker image.</p>
2020
</a>
21-
<a href={{< relref "./get-started/running-k6" >}} class="nav-cards__item nav-cards__item--guide">
21+
<a href=get-started/running-k6/ class="nav-cards__item nav-cards__item--guide">
2222
<h4>🏎️💨 Running k6</h4>
2323
<p>Write and execute your first load test locally using JavaScript and the k6 API, adding multiple virtual users, checks and ramping stages.</p>
2424
</a>
25-
<a href={{< relref "./get-started/results-output" >}} class="nav-cards__item nav-cards__item--guide">
25+
<a href=get-started/results-output/ class="nav-cards__item nav-cards__item--guide">
2626
<h4>⏱ Results output</h4>
2727
<p>Learn how to leverage the results output to gain actionable insight about your application's performance.</p>
2828
</a>

docs/sources/k6/v0.49.x/extensions/_index.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ Expand the potential use cases for k6.
1111
## Quickstart
1212

1313
<div class="nav-cards">
14-
<a href={{< relref "./explore" >}} class="nav-cards__item nav-cards__item--guide">
14+
<a href=explore/ class="nav-cards__item nav-cards__item--guide">
1515
<h4>🔎 Explore</h4>
1616
<p>A list of more than 50 available extensions.</p>
1717
</a>
18-
<a href={{< relref "./build-k6-binary-using-go" >}} class="nav-cards__item nav-cards__item--guide">
18+
<a href=build-k6-binary-using-go/ class="nav-cards__item nav-cards__item--guide">
1919
<h4>🧩 Bundle</h4>
2020
<p>Combine multiple extensions into a custom k6 binary.</p>
2121
</a>
22-
<a href={{< relref "./create/" >}} class="nav-cards__item nav-cards__item--guide">
22+
<a href=create/ class="nav-cards__item nav-cards__item--guide">
2323
<h4>🏗️ Create</h4>
2424
<p>Learn how to make your own k6 extension.</p>
2525
</a>

docs/sources/k6/v0.49.x/shared/blocking-aws-blockquote.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: jslib/aws module blocking admonition
77
In some cases, using this library&apos;s operations might impact performance and skew your test results.
88
<br>
99
<br>
10-
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions]({{< relref "../using-k6/test-lifecycle" >}}). These functions run before and after the test run and have no impact on the test results.
10+
To ensure accurate results, consider executing these operations in the `setup` and `teardown` [lifecycle functions](/docs/k6/<K6_VERSION>/using-k6/test-lifecycle/). These functions run before and after the test run and have no impact on the test results.
1111

1212
{{< /admonition >}}

docs/sources/k6/v0.49.x/shared/crypto-module.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ title: k6/crypto module admonition
77
A module with a better and standard API exists.
88
<br>
99
<br>
10-
The new [k6/experimental/webcrypto API]({{< relref "../javascript-api/k6-experimental/webcrypto" >}}) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto]({{< relref "../javascript-api/k6-crypto" >}}).
10+
The new [k6/experimental/webcrypto API](/docs/k6/<K6_VERSION>/javascript-api/k6-experimental/webcrypto/) partially implements the [WebCryptoAPI](https://www.w3.org/TR/WebCryptoAPI/), supporting more features than [k6/crypto](/docs/k6/<K6_VERSION>/javascript-api/k6-crypto/).
1111

1212
{{< /admonition >}}

0 commit comments

Comments
 (0)