Skip to content

Commit 80b6dcd

Browse files
authored
docs: reworked links & prose to account for new landing pages (#1043)
1 parent 9d414ef commit 80b6dcd

File tree

11 files changed

+443
-414
lines changed

11 files changed

+443
-414
lines changed

sources/platform/actors/development/builds_and_runs/state_persistence.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Unless instructed to save its output or state to a [storage](../../../storage/in
4141

4242
## [](#how-to-persist-state)How to persist state
4343

44-
The Apify SDK ([SDK for JavaScript](/sdk/js), [SDK for Python](/sdk/python)) persists its state automatically, using the `migrating` and `persistState` [events](/sdk/js/api/apify/class/PlatformEventManager). `persistState` notifies SDK components to persist their state at regular intervals in case a migration happens. The `migrating` event is emitted just before a migration.
44+
The [Apify SDKs](/sdk) persist their state automatically. In JavaScript, this is done using the `migrating` and `persistState` events in the [PlatformEventManager](/sdk/js/api/apify/class/PlatformEventManager). The `persistState` event notifies SDK components to persist their state at regular intervals in case a migration happens. The `migrating` event is emitted just before a migration.
4545

4646
### [](#code-examples)Code examples
4747

sources/platform/actors/development/programming_interface/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ slug: /actors/development/programming-interface
99

1010
---
1111

12-
import Card from "@site/src/components/Card";
13-
import CardGrid from "@site/src/components/CardGrid";
12+
import Card from '@site/src/components/Card';
13+
import CardGrid from '@site/src/components/CardGrid';
1414

15-
This chapter will guide you through all the commands you need to build your first Actor. This interface is provided by Apify SDKs for [Node.js](/sdk/js/) and [Python](/sdk/python). The chapter starts with basic commands and guides you through system events and environment variables that are available to your Actor both locally and when running on Apify platform.
15+
This chapter will guide you through all the commands you need to build your first Actor. This interface is provided by [Apify SDKs](/sdk). The chapter starts with basic commands and guides you through system events and environment variables that are available to your Actor both locally and when running on Apify platform.
1616

1717
<CardGrid>
1818
<Card

sources/platform/proxy/google_serp_proxy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ See a [full list](https://ipfs.io/ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXW
6565

6666
### Using the Apify SDK {#examples-using-the-apify-sdk}
6767

68-
If you are developing your own Apify [Actor](../actors/index.mdx) using the Apify SDK ([JavaScript](/sdk/js) and [Python](/sdk/python)) and [Crawlee](https://crawlee.dev/), the most efficient way to use Google SERP proxy is [CheerioCrawler](https://crawlee.dev/api/cheerio-crawler/class/CheerioCrawler). This is because Google SERP proxy [only returns a page's HTML](./index.md). Alternatively, you can use the [got-scraping](https://github.com/apify/got-scraping) [NPM package](https://www.npmjs.com/package/got-scraping) by specifying the proxy URL in the options. For Python, you can leverage the [`requests`](https://pypi.org/project/requests/) library along with the Apify SDK.
68+
If you are developing your own Apify [Actor](../actors/index.mdx) using the [Apify SDK](/sdk) and [Crawlee](https://crawlee.dev/), the most efficient way to use Google SERP proxy is [CheerioCrawler](https://crawlee.dev/api/cheerio-crawler/class/CheerioCrawler). This is because Google SERP proxy [only returns a page's HTML](./index.md). Alternatively, you can use the [got-scraping](https://github.com/apify/got-scraping) [NPM package](https://www.npmjs.com/package/got-scraping) by specifying the proxy URL in the options. For Python, you can leverage the [`requests`](https://pypi.org/project/requests/) library along with the Apify SDK.
6969

7070
The following examples get a list of search results for the keyword **wikipedia** from the USA (`google.com`).
7171

sources/platform/proxy/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ You can view your proxy settings and password on the [Proxy](https://console.api
2626

2727
## Quickstart {#quickstart}
2828

29-
Usage of Apify Proxy means just a couple of lines of code, thanks to our SDKs for ([JavaScript](/sdk/js) and [Python](/sdk/python)):
29+
Usage of Apify Proxy means just a couple of lines of code, thanks to our [SDKs](/sdk):
3030

3131
<Tabs groupId="main">
3232
<TabItem value="JavaScript SDK with PuppeteerCrawler" label="JavaScript SDK with PuppeteerCrawler">

sources/platform/proxy/residential_proxy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For example, your **proxy URL** when using the [got-scraping](https://www.npmjs.
4040
const proxyUrl = 'http://groups-RESIDENTIAL:<YOUR_PROXY_PASSWORD>@proxy.apify.com:8000';
4141
```
4242

43-
In the Apify SDK ([JavaScript](/sdk/js) and [Python](/sdk/python)), you set the **groups** in your proxy configuration:
43+
In the [Apify SDK](/sdk) you set the **groups** in your proxy configuration:
4444

4545
<Tabs groupId="main">
4646
<TabItem value="JavaScript" label="JavaScript">
@@ -83,7 +83,7 @@ For example, your `username` parameter when using [Python 3](https://docs.python
8383
username = "groups-RESIDENTIAL,country-JP"
8484
```
8585

86-
In the Apify SDK ([JavaScript](/sdk/js) and [Python](/sdk/python)), you set the country in your proxy configuration using two-letter [country codes](https://laendercode.net/en/2-letter-list.html). Specify the groups as `RESIDENTIAL`, then add a `countryCode`/`country_code` parameter:
86+
In the [Apify SDK](/sdk) you set the country in your proxy configuration using two-letter [country codes](https://laendercode.net/en/2-letter-list.html). Specify the groups as `RESIDENTIAL`, then add a `countryCode`/`country_code` parameter:
8787

8888
<Tabs groupId="main">
8989
<TabItem value="JavaScript" label="JavaScript">

sources/platform/proxy/usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ If you want to specify one parameter and not the others, just provide that param
122122

123123
## Code examples
124124

125-
We have code examples for connecting to our proxy using the Apify SDK ([JavaScript](/sdk/js) and [Python](/sdk/python)) and [Crawlee](https://crawlee.dev/) and other libraries, as well as examples in PHP.
125+
We have code examples for connecting to our proxy using the [Apify SDK](/sdk) and [Crawlee](https://crawlee.dev/) and other libraries, as well as examples in PHP.
126126

127127
* [Datacenter proxy](./datacenter_proxy.md#examples)
128128
* [Residential proxy](./residential_proxy.md#connecting-to-residential-proxy)

0 commit comments

Comments
 (0)