Skip to content

Commit 69de916

Browse files
TC-MOhonzajavorek
andauthored
docs: merge getting started into platform docs (#1862)
moved actors.md content into platform/actors moved images cleaned up content for conciness & clarity slight adjustments to formatting --------- Co-authored-by: Honza Javorek <[email protected]>
1 parent 271e15a commit 69de916

File tree

29 files changed

+393
-811
lines changed

29 files changed

+393
-811
lines changed

nginx.conf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,15 @@ server {
420420
# Actor marketing playbook addition
421421
rewrite ^/academy/get-most-of-actors$ /academy/actor-marketing-playbook permanent;
422422

423+
# Academy getting started redirects
424+
425+
rewrite ^/academy/apify-platform$ /platform permanent;
426+
rewrite ^/academy/getting-started/actors$ /platform/actors permanent;
427+
rewrite ^/academy/getting-started/creating-actors$ /platform/actors/development/quick-start/web-ide permanent;
428+
rewrite ^/academy/getting-started/inputs-outputs$ /platform/actors/running/input-and-output permanent;
429+
rewrite ^/academy/getting-started/apify-api$ /platform/integrations/api permanent;
430+
rewrite ^/academy/getting-started/apify-client$ /platform/integrations/api/clients permanent;
431+
rewrite ^/academy/getting-started /platform/actors permanent;
423432
}
424433

425434
# Temporarily used to route crawlee.dev to the Crawlee GitHub pages.

sources/academy/homepage_content.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
},
1515
{
1616
"title": "Apify platform",
17-
"link": "/academy/apify-platform",
18-
"description": "The Apify platform is the best place to run your scrapers and automations in the cloud. Learn what an actor is, how to turn your program into an actor, and how to deploy it.",
17+
"link": "/platform",
18+
"description": "The Apify platform is the best place to run your scrapers and automations in the cloud. Learn what an Actor is and how to deploy it.",
1919
"imageUrl": "/img/academy/apify_platform.png"
2020
}
2121
],

sources/academy/platform/apify_platform.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

sources/academy/platform/deploying_your_code/deploying.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ One important thing to note is that you can use a `.gitignore` file to exclude f
5555
5656
## Deployed! {#deployed}
5757

58-
Great! Once you've pushed your Actor to the platform, you will find it listed under the **Actors** tab. When using the `apify push` command, you will have access to the multifile editor. For details about using the multifile editor, refer to [Creating Actors](/academy/getting-started/creating-actors#web-ide).
58+
Great! Once you've pushed your Actor to the platform, you will find it listed under the **Actors** tab. When using the `apify push` command, you will have access to the multifile editor. For details about using the multifile editor, refer to [the Web IDE quick start](/platform/actors/development/quick-start/web-ide).
5959

6060
![Deployed Actor on the Apify platform](./images/actor-page.jpg)
6161

sources/academy/platform/deploying_your_code/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import TabItem from '@theme/TabItem';
1515

1616
---
1717

18-
This section will discuss how to use your newfound knowledge of the Apify platform and Actors from the [**Getting started**](../getting_started/index.md) section to deploy your existing project's code to the Apify platform as an Actor.
18+
This section will discuss how to use your newfound knowledge of the Apify platform and Actors from the [**Actors overview**](/platform/actors) to deploy your existing project's code to the Apify platform as an Actor.
1919
Any program running in a Docker container can become an Apify Actor.
2020

2121
![The deployment workflow](../../images/deployment-workflow.png)

sources/academy/platform/deploying_your_code/inputs_outputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Cool! When we run `node index.js`, we see **20**.
8686

8787
### Accepting input without the Apify SDK
8888

89-
Alternatively, when writing in a language other than JavaScript, we can create our own `get_input()` function which utilizes the Apify API when the Actor is running on the platform. For this example, we are using the [Apify Client](../getting_started/apify_client.md) for Python to access the API.
89+
Alternatively, when writing in a language other than JavaScript, we can create our own `get_input()` function which utilizes the Apify API when the Actor is running on the platform. For this example, we are using the [Apify Client for Python](/platform/integrations/api/clients) to access the API.
9090

9191
```py
9292
# index.py

sources/academy/platform/expert_scraping_with_apify/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ This course will teach you the nitty gritty of what it takes to build pro-level
1818

1919
Before developing a pro-level Apify scraper, there are some important things you should have at least a bit of knowledge about (knowing the basics of each is enough to continue through this section), as well as some things that you should have installed on your system.
2020

21-
> If you've already gone through the [Web scraping basics for JavaScript devs](../../webscraping/scraping_basics_javascript/index.md) and the first courses of the [Apify platform category](../apify_platform.md), you will be more than well equipped to continue on with the lessons in this course.
21+
> If you've already gone through the [Web scraping basics for JavaScript devs](../../webscraping/scraping_basics_javascript/index.md) and are familiar with [Apify platform](/platform), you will be more than well equipped to continue on with the lessons in this course.
2222
2323
<!-- ### Puppeteer/Playwright {#puppeteer-playwright}
2424
2525
[Puppeteer](https://pptr.dev/) is a library for running and controlling a [headless browser](../../webscraping/scraping_basics_javascript/crawling/headless_browser.md) in Node.js, and was developed at Google. The team working on it was hired by Microsoft to work on the [Playwright](https://playwright.dev/) project; therefore, many parallels can be seen between both the `puppeteer` and `playwright` packages. Proficiency in at least one of these will be good enough. -->
2626

2727
### Crawlee, Apify SDK, and the Apify CLI {#crawlee-apify-sdk-and-cli}
2828

29-
If you're feeling ambitious, you don't need to have any prior experience with Crawlee to get started with this course; however, at least 5–10 minutes of exposure is recommended. If you haven't yet tried out Crawlee, you can refer to [this lesson](../../webscraping/scraping_basics_javascript/crawling/pro_scraping.md) in the **Web scraping basics for JavaScript devs** course (and ideally follow along). To familiarize yourself with the Apify SDK, you can refer to the [Apify Platform](../apify_platform.md) category.
29+
If you're feeling ambitious, you don't need to have any prior experience with Crawlee to get started with this course; however, at least 5–10 minutes of exposure is recommended. If you haven't yet tried out Crawlee, you can refer to [this lesson](../../webscraping/scraping_basics_javascript/crawling/pro_scraping.md) in the **Web scraping basics for JavaScript devs** course (and ideally follow along).
3030

3131
The Apify CLI will play a core role in the running and testing of the Actor you will build, so if you haven't gotten it installed already, please refer to [this short lesson](../../glossary/tools/apify_cli.md).
3232

@@ -40,7 +40,7 @@ Docker is a massive topic on its own, but don't be worried! We only expect you t
4040

4141
### The basics of Actors {#actor-basics}
4242

43-
Part of this course will be learning more in-depth about Actors; however, some basic knowledge is already assumed. If you haven't yet gone through the [Actors](../getting_started/actors.md) lesson of the **Apify platform** course, it's highly recommended to at least give it a glance before moving forward.
43+
Part of this course will be learning more in-depth about Actors; however, some basic knowledge is already assumed. If you haven't yet gone through the [Actors](/platform/actors) documentation, it's highly recommended to at least give it a glance before moving forward.
4444

4545
## First up {#first}
4646

sources/academy/platform/get_most_of_actors/store_basics/how_to_build_actors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ To use SuperScraper API, you can deploy it with an Apify API token and access it
162162

163163
## General resources
164164

165-
- Creating your Actor: [Actor sources](https://docs.apify.com/academy/getting-started/creating-actors)
165+
- Creating your Actor: [Actor development](/platform/actors/development)
166166
- Use it, build it or buy it? [Choosing the right solution on Apify](https://help.apify.com/en/articles/3024655-choosing-the-right-solution)
167167
- How to programmatically retrieve data with the [Apify API](https://www.youtube.com/watch?v=ViYYDHSBAKM&t=0s)
168168
- Improved way to [build your scrapers from a Git repo](https://www.youtube.com/watch?v=8QJetr-BYdQ)

sources/academy/platform/getting_started/actors.md

Lines changed: 0 additions & 48 deletions
This file was deleted.

sources/academy/platform/getting_started/apify_api.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)