Skip to content

Commit 9479592

Browse files
vdusekclaude
andcommitted
fix: correct typos in versioned docs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 64c39d7 commit 9479592

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

website/versioned_docs/version-1.7/api-typedoc.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@
336336
"summary": [
337337
{
338338
"kind": "text",
339-
"text": "{\"content\": [\"Rename a directory. Checks for existence of soruce directory and removes destination directory if it exists.\"]}"
339+
"text": "{\"content\": [\"Rename a directory. Checks for existence of source directory and removes destination directory if it exists.\"]}"
340340
}
341341
]
342342
},
@@ -364,7 +364,7 @@
364364
"summary": [
365365
{
366366
"kind": "text",
367-
"text": "{\"content\": [\"Rename a directory. Checks for existence of soruce directory and removes destination directory if it exists.\"]}"
367+
"text": "{\"content\": [\"Rename a directory. Checks for existence of source directory and removes destination directory if it exists.\"]}"
368368
}
369369
]
370370
},
@@ -3773,7 +3773,7 @@
37733773
"summary": [
37743774
{
37753775
"kind": "text",
3776-
"text": "{\"content\": [\"Retrive the global configuration.\\n\\nThe global configuration applies when you call actor methods via their static versions, e.g. `Actor.init()`.\\nAlso accessible via `Actor.config`.\"]}"
3776+
"text": "{\"content\": [\"Retrieve the global configuration.\\n\\nThe global configuration applies when you call actor methods via their static versions, e.g. `Actor.init()`.\\nAlso accessible via `Actor.config`.\"]}"
37773777
}
37783778
]
37793779
},
@@ -3799,7 +3799,7 @@
37993799
"summary": [
38003800
{
38013801
"kind": "text",
3802-
"text": "{\"content\": [\"Retrive the global configuration.\\n\\nThe global configuration applies when you call actor methods via their static versions, e.g. `Actor.init()`.\\nAlso accessible via `Actor.config`.\"]}"
3802+
"text": "{\"content\": [\"Retrieve the global configuration.\\n\\nThe global configuration applies when you call actor methods via their static versions, e.g. `Actor.init()`.\\nAlso accessible via `Actor.config`.\"]}"
38033803
}
38043804
]
38053805
},

website/versioned_docs/version-2.7/02_guides/05_scrapy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ In this guide you learned how to use Scrapy in Apify Actors. You can now start b
109109

110110
- [Apify CLI: Integrating Scrapy projects](https://docs.apify.com/cli/docs/integrating-scrapy)
111111
- [Apify: Run Scrapy spiders on Apify](https://apify.com/run-scrapy-in-cloud)
112-
- [Apify templates: Pyhon Actor Scrapy template](https://apify.com/templates/python-scrapy)
112+
- [Apify templates: Python Actor Scrapy template](https://apify.com/templates/python-scrapy)
113113
- [Apify store: Scrapy Books Example Actor](https://apify.com/vdusek/scrapy-books-example)
114114
- [Scrapy: Official documentation](https://docs.scrapy.org/)

website/versioned_docs/version-2.7/02_guides/code/01_beautifulsoup_httpx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async def main() -> None:
3838
url = request.url
3939

4040
if not isinstance(request.user_data['depth'], (str, int)):
41-
raise TypeError('Request.depth is an enexpected type.')
41+
raise TypeError('Request.depth is an unexpected type.')
4242

4343
depth = int(request.user_data['depth'])
4444
Actor.log.info(f'Scraping {url} (depth={depth}) ...')

website/versioned_docs/version-2.7/02_guides/code/03_playwright.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def main() -> None:
5151
url = request.url
5252

5353
if not isinstance(request.user_data['depth'], (str, int)):
54-
raise TypeError('Request.depth is an enexpected type.')
54+
raise TypeError('Request.depth is an unexpected type.')
5555

5656
depth = int(request.user_data['depth'])
5757
Actor.log.info(f'Scraping {url} (depth={depth}) ...')

website/versioned_docs/version-2.7/02_guides/code/04_selenium.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async def main() -> None:
6060
url = request.url
6161

6262
if not isinstance(request.user_data['depth'], (str, int)):
63-
raise TypeError('Request.depth is an enexpected type.')
63+
raise TypeError('Request.depth is an unexpected type.')
6464

6565
depth = int(request.user_data['depth'])
6666
Actor.log.info(f'Scraping {url} (depth={depth}) ...')

website/versioned_docs/version-2.7/02_guides/code/scrapy_project/src/spiders/title.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __init__(
3232
*args: Any,
3333
**kwargs: Any,
3434
) -> None:
35-
"""A default costructor.
35+
"""A default constructor.
3636
3737
Args:
3838
start_urls: URLs to start the scraping from.

website/versioned_docs/version-2.7/03_concepts/code/actor_charge.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
async def main() -> None:
55
async with Actor:
66
# highlight-start
7-
# Charge for a single occurence of an event
7+
# Charge for a single occurrence of an event
88
await Actor.charge(event_name='init')
99
# highlight-end
1010

0 commit comments

Comments
 (0)