diff --git a/src/crawlee/_utils/docs.py b/src/crawlee/_utils/docs.py index 185fe3828f..abfbbf140b 100644 --- a/src/crawlee/_utils/docs.py +++ b/src/crawlee/_utils/docs.py @@ -3,7 +3,7 @@ from collections.abc import Callable from typing import Any, Literal, TypeVar -# The order of the rendered API groups is defined in the docusaurus-plugin-typedoc-api. +# The order of the rendered API groups is defined in the website/docusaurus.config.js file. GroupName = Literal[ 'Autoscaling', 'Browser management', diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index ff1709bf82..35b613d746 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -4,16 +4,24 @@ const path = require('path'); const { externalLinkProcessor } = require('./tools/utils/externalLink'); const GROUP_ORDER = [ - 'Classes', - 'Abstract classes', - 'Data structures', + 'Autoscaling', + 'Browser management', + 'Configuration', + 'Crawlers', + 'Crawling contexts', 'Errors', + 'Event data', + 'Event managers', 'Functions', - 'Constructors', - 'Methods', - 'Properties', - 'Constants', - 'Enumeration Members', + 'HTTP clients', + 'HTTP parsers', + 'Request loaders', + 'Session management', + 'Statistics', + 'Storage clients', + 'Storage data', + 'Storages', + 'Other', ]; const groupSort = (g1, g2) => {