Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update empty example pages #1714

Merged
merged 4 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions docs/sources/next/examples/bundling-and-transpilation.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/sources/next/examples/bundling-and-transpiling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
aliases:
- ./bundling-and-transpilation # docs/k6/<K6_VERSION>/examples/bundling-and-transpilation
title: 'Bundling and transpiling'
description: |
Refer to the JavaScript and TypeScript compatibility mode page for more details on how to use TypeScript with k6
weight: 18
---

# Bundling and transpiling

For more details about bundling and transpiling, refer to [JavaScript and TypeScript compatibility mode](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/javascript-typescript-compatibility-mode/).
7 changes: 5 additions & 2 deletions docs/sources/next/examples/crawl-webpage.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
title: 'Crawl a web page'
redirect: 'https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/'
description: |
Stack overflow answer demonstrating how to crawl a web page
An example of how to use k6 to crawl a web page
weight: 17
---

# Crawl a web page

Refer to this [Stack Overflow answer](https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/) for details on how you can use k6 to crawl a web page.

You can also use the [Grafana k6 Browser Recorder](https://chromewebstore.google.com/detail/grafana-k6-browser-record/fbanjfonbcedhifbgikmjelkkckhhidl), or the [k6 DevTools Recorder](https://chromewebstore.google.com/detail/k6-devtools-recorder/fkajbajcclbdgaoanencnhpfnigfipgc) to record a browser session and export it as a k6 test script.
5 changes: 3 additions & 2 deletions docs/sources/next/examples/data-generation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: 'Generating realistic data'
redirect: 'https://github.com/k6io/example-data-generation/'
description: |
Reference project demonstrating how to generate data with realistic traits at runtime using faker.js
Reference project demonstrating how to generate data with realistic traits at runtime using Faker
weight: 16
---

# Generating realistic data

Refer to the [grafana/k6-example-data-generation](https://github.com/grafana/k6-example-data-generation) GitHub repository for an example of how to utilize k6 and Faker to generate realistic data for a load test.
10 changes: 0 additions & 10 deletions docs/sources/v0.53.x/examples/bundling-and-transpilation.md

This file was deleted.

12 changes: 12 additions & 0 deletions docs/sources/v0.53.x/examples/bundling-and-transpiling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
aliases:
- ./bundling-and-transpilation # docs/k6/<K6_VERSION>/examples/bundling-and-transpilation
title: 'Bundling and transpiling'
description: |
Refer to the JavaScript and TypeScript compatibility mode page for more details on how to use TypeScript with k6
weight: 18
---

# Bundling and transpiling

For more details about bundling and transpiling, refer to [JavaScript and TypeScript compatibility mode](https://grafana.com/docs/k6/<K6_VERSION>/using-k6/javascript-typescript-compatibility-mode/).
7 changes: 5 additions & 2 deletions docs/sources/v0.53.x/examples/crawl-webpage.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
---
title: 'Crawl a web page'
redirect: 'https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/'
description: |
Stack overflow answer demonstrating how to crawl a web page
An example of how to use k6 to crawl a web page
weight: 17
---

# Crawl a web page

Refer to this [Stack Overflow answer](https://stackoverflow.com/questions/60927653/downloading-whole-websites-with-k6/) for details on how you can use k6 to crawl a web page.

You can also use the [Grafana k6 Browser Recorder](https://chromewebstore.google.com/detail/grafana-k6-browser-record/fbanjfonbcedhifbgikmjelkkckhhidl), or the [k6 DevTools Recorder](https://chromewebstore.google.com/detail/k6-devtools-recorder/fkajbajcclbdgaoanencnhpfnigfipgc) to record a browser session and export it as a k6 test script.
5 changes: 3 additions & 2 deletions docs/sources/v0.53.x/examples/data-generation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
---
title: 'Generating realistic data'
redirect: 'https://github.com/k6io/example-data-generation/'
description: |
Reference project demonstrating how to generate data with realistic traits at runtime using faker.js
Reference project demonstrating how to generate data with realistic traits at runtime using Faker
weight: 16
---

# Generating realistic data

Refer to the [grafana/k6-example-data-generation](https://github.com/grafana/k6-example-data-generation) GitHub repository for an example of how to utilize k6 and Faker to generate realistic data for a load test.
Loading