Skip to content

ApiLink generates incorrect URL for versioned docs #1867

@Mantisus

Description

@Mantisus

ApiLink always resolves to /api/class/<ClassName> regardless of the active Docusaurus
version. For the next version, it should resolve to /api/next/class/<ClassName>.

This causes the docs CI check to fail when a PR introduces new public classes, since they
don't exist in the stable API docs yet.

Example - https://github.com/apify/crawlee-python/actions/runs/25296078686/job/74155036886

Metadata

Metadata

Assignees

Labels

t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions