Skip to content

Commit 3b7265a

Browse files
authored
docs: update symbol group ordering (#1313)
Follow-up for #1309 (see [relevant comment](#1309 (comment)))
1 parent 88eecba commit 3b7265a

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

src/crawlee/_utils/docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from collections.abc import Callable
44
from typing import Any, Literal, TypeVar
55

6-
# The order of the rendered API groups is defined in the docusaurus-plugin-typedoc-api.
6+
# The order of the rendered API groups is defined in the website/docusaurus.config.js file.
77
GroupName = Literal[
88
'Autoscaling',
99
'Browser management',

website/docusaurus.config.js

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,24 @@ const path = require('path');
44
const { externalLinkProcessor } = require('./tools/utils/externalLink');
55

66
const GROUP_ORDER = [
7-
'Classes',
8-
'Abstract classes',
9-
'Data structures',
7+
'Autoscaling',
8+
'Browser management',
9+
'Configuration',
10+
'Crawlers',
11+
'Crawling contexts',
1012
'Errors',
13+
'Event data',
14+
'Event managers',
1115
'Functions',
12-
'Constructors',
13-
'Methods',
14-
'Properties',
15-
'Constants',
16-
'Enumeration Members',
16+
'HTTP clients',
17+
'HTTP parsers',
18+
'Request loaders',
19+
'Session management',
20+
'Statistics',
21+
'Storage clients',
22+
'Storage data',
23+
'Storages',
24+
'Other',
1725
];
1826

1927
const groupSort = (g1, g2) => {

0 commit comments

Comments
 (0)