Skip to content

Commit fc39e1a

Browse files
authored
docs: fix spelling for System Information V2 experiment (#3580)
Rename the experiment doc id from `experiments-system-infomation-v2` to `experiments-system-information-v2` and update the page title. Register client redirects from the old paths for the default docs, next, and versioned 3.13–3.16 routes so existing links keep working. Tighten the `isDocker()` deprecation sentence, correct JSDoc spelling in `Dataset.pushData`, and fix a typo on the JS landing page. ``` Infomation -> Information eventualy -> eventually depreciated -> deprecated neccesary -> necessary ```
1 parent e07bd30 commit fc39e1a

8 files changed

Lines changed: 41 additions & 17 deletions

File tree

docs/experiments/systemInfoV2.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: experiments-system-infomation-v2
3-
title: System Infomation V2
2+
id: experiments-system-information-v2
3+
title: System Information V2
44
description: Improved autoscaling through cgroup aware metric collection.
55
---
66

@@ -61,7 +61,7 @@ when a container is detected.
6161
:::note
6262

6363
This `isContainerized()` function is very similar to the existing `isDocker()` function however for now they both work side by side.
64-
If this experiment is successful, eventualy `isDocker()` may eventually be depreciated in favour of `isContainerized()`.
64+
If this experiment is successful, `isDocker()` may eventually be deprecated in favour of `isContainerized()`.
6565

6666
:::
6767

packages/core/src/storages/dataset.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ export class Dataset<Data extends Dictionary = Dictionary> {
559559
* If the dataset is empty, reduce will return undefined.
560560
*
561561
* @param iteratee
562-
* @param memo Unset parameter, neccesary to be able to pass options
562+
* @param memo Unset parameter, necessary to be able to pass options
563563
* @param [options] An object containing extra options for `reduce()`
564564
*/
565565
async reduce(

website/docusaurus.config.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,30 @@ module.exports = {
166166
from: '/js/docs/guides/apify-platform',
167167
to: '/js/docs/deployment/apify-platform',
168168
},
169+
{
170+
from: '/js/docs/experiments/experiments-system-infomation-v2',
171+
to: '/js/docs/experiments/experiments-system-information-v2',
172+
},
173+
{
174+
from: '/js/docs/next/experiments/experiments-system-infomation-v2',
175+
to: '/js/docs/next/experiments/experiments-system-information-v2',
176+
},
177+
{
178+
from: '/js/docs/3.13/experiments/experiments-system-infomation-v2',
179+
to: '/js/docs/3.13/experiments/experiments-system-information-v2',
180+
},
181+
{
182+
from: '/js/docs/3.14/experiments/experiments-system-infomation-v2',
183+
to: '/js/docs/3.14/experiments/experiments-system-information-v2',
184+
},
185+
{
186+
from: '/js/docs/3.15/experiments/experiments-system-infomation-v2',
187+
to: '/js/docs/3.15/experiments/experiments-system-information-v2',
188+
},
189+
{
190+
from: '/js/docs/3.16/experiments/experiments-system-infomation-v2',
191+
to: '/js/docs/experiments/experiments-system-information-v2',
192+
},
169193
],
170194
// createRedirects(existingPath) {
171195
// if (!existingPath.endsWith('/')) {

website/src/pages/js.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function DeployToCloudSection() {
278278
<div>2</div>
279279
</div>
280280
<div className={styles.deployToCloudStepText}>
281-
Add <pre>Actor.init()</pre> to the begining and{' '}
281+
Add <pre>Actor.init()</pre> to the beginning and{' '}
282282
<pre>Actor.exit()</pre> to the end of your code.
283283
</div>
284284
</div>

website/versioned_docs/version-3.13/experiments/systemInfoV2.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: experiments-system-infomation-v2
3-
title: System Infomation V2
2+
id: experiments-system-information-v2
3+
title: System Information V2
44
description: Improved autoscaling through cgroup aware metric collection.
55
---
66

@@ -61,7 +61,7 @@ when a container is detected.
6161
:::note
6262

6363
This `isContainerized()` function is very similar to the existing `isDocker()` function however for now they both work side by side.
64-
If this experiment is successful, eventualy `isDocker()` may eventually be depreciated in favour of `isContainerized()`.
64+
If this experiment is successful, `isDocker()` may eventually be deprecated in favour of `isContainerized()`.
6565

6666
:::
6767

website/versioned_docs/version-3.14/experiments/systemInfoV2.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: experiments-system-infomation-v2
3-
title: System Infomation V2
2+
id: experiments-system-information-v2
3+
title: System Information V2
44
description: Improved autoscaling through cgroup aware metric collection.
55
---
66

@@ -61,7 +61,7 @@ when a container is detected.
6161
:::note
6262

6363
This `isContainerized()` function is very similar to the existing `isDocker()` function however for now they both work side by side.
64-
If this experiment is successful, eventualy `isDocker()` may eventually be depreciated in favour of `isContainerized()`.
64+
If this experiment is successful, `isDocker()` may eventually be deprecated in favour of `isContainerized()`.
6565

6666
:::
6767

website/versioned_docs/version-3.15/experiments/systemInfoV2.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: experiments-system-infomation-v2
3-
title: System Infomation V2
2+
id: experiments-system-information-v2
3+
title: System Information V2
44
description: Improved autoscaling through cgroup aware metric collection.
55
---
66

@@ -61,7 +61,7 @@ when a container is detected.
6161
:::note
6262

6363
This `isContainerized()` function is very similar to the existing `isDocker()` function however for now they both work side by side.
64-
If this experiment is successful, eventualy `isDocker()` may eventually be depreciated in favour of `isContainerized()`.
64+
If this experiment is successful, `isDocker()` may eventually be deprecated in favour of `isContainerized()`.
6565

6666
:::
6767

website/versioned_docs/version-3.16/experiments/systemInfoV2.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
id: experiments-system-infomation-v2
3-
title: System Infomation V2
2+
id: experiments-system-information-v2
3+
title: System Information V2
44
description: Improved autoscaling through cgroup aware metric collection.
55
---
66

@@ -61,7 +61,7 @@ when a container is detected.
6161
:::note
6262

6363
This `isContainerized()` function is very similar to the existing `isDocker()` function however for now they both work side by side.
64-
If this experiment is successful, eventualy `isDocker()` may eventually be depreciated in favour of `isContainerized()`.
64+
If this experiment is successful, `isDocker()` may eventually be deprecated in favour of `isContainerized()`.
6565

6666
:::
6767

0 commit comments

Comments
 (0)