Skip to content

Commit b657e01

Browse files
committed
Fix Blockquote issues
1 parent cb8ffea commit b657e01

File tree

6 files changed

+18
-41
lines changed

6 files changed

+18
-41
lines changed

src/data/markdown/docs/02 javascript api/01 Init context/open.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Opens a file, reading all its contents into memory for use in the script. Favour
1111

1212
#### Function only available in "init context"
1313

14-
This is a function that can only be called from the init context (aka `init code`), code in the global context that is, outside of the main export default function { ... }.
14+
This is a function that can only be called from the init context (aka **init code**), code in the global context that is, outside of the main export default function { ... }.
1515

1616
By restricting it to the init context, we can easily determine what local files are needed to run the test and thus what we need to bundle up when distributing the test to multiple nodes in a clustered/distributed test.
1717

src/data/markdown/docs/02 javascript api/07 k6-metrics/73 Trend.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,11 @@ The unit of these variables and functions are all in milliseconds.
3232
- `p(50) < 200` // half of requests must finish within 200ms.
3333
- `max < 3000` // the slowest request must finish within 3s.
3434

35-
<Blockquote mod="warning">
3635

37-
#### ⚠️ Don't use `min` and `max` in thresholds
36+
> #### ⚠️ Don't use `min` and `max` in thresholds
37+
> We don't recommend using `min` and `max` for specifying thresholds because these
38+
> values represent outliers. Use percentiles instead.
3839
39-
We don't recommend using `min` and `max` for specifying thresholds because these
40-
values represent outliers. Use percentiles instead.
41-
42-
</Blockquote>
4340

4441
### Examples
4542

src/data/markdown/docs/03 cloud/03 Integrations/04 Token.md

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,19 @@ Before you can interact with the k6 Cloud service, whether it's for streaming re
77

88
Below are some examples on how to utilize the token to authenticate.
99

10-
<Blockquote mod="warning">
1110

12-
#### Google/GitHub Single Sign-On Users
11+
> #### Google/GitHub Single Sign-On Users
12+
> For Single Sign-On (SSO) users, `k6 login cloud` requires a k6 cloud account email and password. You will need to create a password by using [Forgot Password](), or you'll instead need to <a href="https://app.k6.io/account/token"> get your API authentication token from the app</a> and supply that explicitly: `k6 login cloud --token YOUR_API_AUTH_TOKEN`.
13+
> <a href="#authenticating-with-api-token">See below</a> for more information.
1314
14-
For Single Sign-On (SSO) users, `k6 login cloud` requires a k6 cloud account email and password. You will need to create a password by using [Forgot Password](), or you'll instead need to <a href="https://app.k6.io/account/token"> get your API authentication token from the app</a> and supply that explicitly: `k6 login cloud --token YOUR_API_AUTH_TOKEN`.
15-
<a href="#authenticating-with-api-token">See below</a> for more information.
15+
> #### Docker Users
16+
> If you're running k6 in a Docker container you'll need to make sure that the k6 config file where the k6 cloud API authentication information (an API authentication token) will be stored to is persisted via a Docker volume to the host machine using the `-c/--config PATH/TO/CONFIG_FILE` CLI flag, e.g. `docker run -i -v /path/on-host:/path/in-container/ loadimpact/k6 login cloud -c /path/in-container/config.json`.
1617
17-
</Blockquote>
1818

19-
<Blockquote mod="warning">
2019

21-
#### Docker Users
20+
> #### Integrating with CI
21+
> If you are integrating k6 into your CI pipeline, we recommend using one of the token methods to authenticate and not exposing your username/password within your CI configuration files or as variables.
2222
23-
If you're running k6 in a Docker container you'll need to make sure that the k6 config file where the k6 cloud API authentication information (an API authentication token) will be stored to is persisted via a Docker volume to the host machine using the `-c/--config PATH/TO/CONFIG_FILE` CLI flag, e.g. `docker run -i -v /path/on-host:/path/in-container/ loadimpact/k6 login cloud -c /path/in-container/config.json`.
24-
25-
</Blockquote>
26-
27-
<Blockquote mod="warning">
28-
29-
#### Integrating with CI
30-
31-
If you are integrating k6 into your CI pipeline, we recommend using one of the token methods to authenticate and not exposing your username/password within your CI configuration files or as variables.
32-
33-
</Blockquote>
3423

3524
## Authenticate with email/password
3625

src/data/markdown/docs/03 cloud/03 Integrations/05 Cloud APM.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,8 @@ The `metrics` parameter allows you to specify built-in and custom metrics to be
4141
- iterations
4242
- vus
4343

44-
<Blockquote mod="warning">
4544

46-
A typical use case is to only export custom metrics defined in the script. To do that you should specify the names of your custom metrics in the `metrics` parameter, and set `include_default_metrics` to false.
47-
48-
</Blockquote>
45+
> A typical use case is to only export custom metrics defined in the script. To do that you should specify the names of your custom metrics in the `metrics` parameter, and set `include_default_metrics` to false.
4946
5047
If you want to export metrics with more granularity, consider using a lower number for the `resample_rate`, like 1.
5148

src/data/markdown/docs/03 cloud/04 Project and Team Management/01 Organizations.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ title: 'Organizations'
33
excerpt: 'Explanation of organizations and the hierarchy in the k6 web app'
44
---
55

6-
<Blockquote mod="warning">
76

8-
<b>Running tests in another Organization</b>
9-
10-
If you have been invited to another organization as a Team Member, you must specify a projectID in `ext.loadimpact.projectID` in order to use that organization's subscription to run your test.
11-
12-
</Blockquote>
7+
> **Runing tests in another Organization**
8+
>
9+
> If you have been invited to another organization as a Team Member, you must specify a projectID in `ext.loadimpact.projectID` in order to use that organization's subscription to run your test.
1310
1411
## Background
1512

src/data/markdown/docs/03 cloud/04 Project and Team Management/03 Team Members.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,10 @@ title: 'Team Members'
33
excerpt: 'Guide on inviting Team Members to your k6 account for collaboration'
44
---
55

6-
<Blockquote mod="warning">
76

8-
<b>Team Members must specify a `projectID`</b>
9-
10-
Invited Team members must specify a `projectID` in `options.ext.loadimpact.projectID` of the options object of their test in order to use the subscription of the organization they have been invited to.
11-
12-
</Blockquote>
7+
> <b>Team Members must specify a `projectID`</b>
8+
>
9+
> Invited Team members must specify a `projectID` in `options.ext.loadimpact.projectID` of the options object of their test in order to use the subscription of the organization they have been invited to.
1310
1411
## Background
1512

0 commit comments

Comments
 (0)