Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions docs/sources/k6/next/extensions/explore.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Extensions can be used to extend the core k6 features to fit your performance-te

## Official extensions

{{< docs/shared source="k6" lookup="official-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="official-extensions.html" version="<K6_VERSION>" >}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

I guess this change is generating this error.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I thought it was working in one of the previous previews, but it's not, I will put this back as a draft until I get it working


## Community extensions

Expand All @@ -28,7 +28,7 @@ We're working on a process for community folks to submit their extensions.

{{< /admonition >}}

{{< docs/shared source="k6" lookup="community-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="community-extensions.html" version="<K6_VERSION>" >}}

## Use extensions

Expand Down
24 changes: 24 additions & 0 deletions docs/sources/k6/next/shared/community-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Community extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "community" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
11 changes: 0 additions & 11 deletions docs/sources/k6/next/shared/community-extensions.md

This file was deleted.

24 changes: 24 additions & 0 deletions docs/sources/k6/next/shared/official-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Official extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "official" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
13 changes: 0 additions & 13 deletions docs/sources/k6/next/shared/official-extensions.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/sources/k6/v1.2.x/extensions/explore.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Extensions can be used to extend the core k6 features to fit your performance-te

## Official extensions

{{< docs/shared source="k6" lookup="official-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="official-extensions.html" version="<K6_VERSION>" >}}

## Community extensions

Expand All @@ -28,7 +28,7 @@ We're working on a process for community folks to submit their extensions.

{{< /admonition >}}

{{< docs/shared source="k6" lookup="community-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="community-extensions.html" version="<K6_VERSION>" >}}

## Use extensions

Expand Down
24 changes: 24 additions & 0 deletions docs/sources/k6/v1.2.x/shared/community-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Community extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "community" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
11 changes: 0 additions & 11 deletions docs/sources/k6/v1.2.x/shared/community-extensions.md

This file was deleted.

24 changes: 24 additions & 0 deletions docs/sources/k6/v1.2.x/shared/official-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Official extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "official" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
13 changes: 0 additions & 13 deletions docs/sources/k6/v1.2.x/shared/official-extensions.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/sources/k6/v1.3.x/extensions/explore.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Extensions can be used to extend the core k6 features to fit your performance-te

## Official extensions

{{< docs/shared source="k6" lookup="official-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="official-extensions.html" version="<K6_VERSION>" >}}

## Community extensions

Expand All @@ -28,7 +28,7 @@ We're working on a process for community folks to submit their extensions.

{{< /admonition >}}

{{< docs/shared source="k6" lookup="community-extensions.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="community-extensions.html" version="<K6_VERSION>" >}}

## Use extensions

Expand Down
24 changes: 24 additions & 0 deletions docs/sources/k6/v1.3.x/shared/community-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Community extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "community" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
11 changes: 0 additions & 11 deletions docs/sources/k6/v1.3.x/shared/community-extensions.md

This file was deleted.

24 changes: 24 additions & 0 deletions docs/sources/k6/v1.3.x/shared/official-extensions.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "k6 Official extensions"
---

{{ $data := dict }}
{{ $url := "https://registry.k6.io/catalog.json" }}
{{ $resource := resources.GetRemote $url }}
{{ if $resource }}
{{ if $resource.Err }}
{{ errorf "Failed to get remote resource %q: %s" $url $resource.Err }}
{{ else }}
{{ $data = $resource | transform.Unmarshal }}
{{ end }}
{{ else }}
{{ errorf "Unable to get remote resource %q" $url }}
{{ end }}

| Extension | Description | Versions |
| --------- | ----------- | -------- |
{{- range $key, $extension := $data }}
{{- if eq $extension.tier "official" }}
| [{{ $extension.repo.name }}]({{ $extension.repo.url }}) | {{ $extension.description }} | {{ delimit $extension.versions ", " }} |
{{- end }}
{{- end }}
13 changes: 0 additions & 13 deletions docs/sources/k6/v1.3.x/shared/official-extensions.md

This file was deleted.

Loading