Skip to content

docs: ApiLink generates incorrect URL for versioned docs #780

@barjin

Description

@barjin

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.

Parity tracking for apify/crawlee-python#1867


Note - the right way to go about this is likely moving ApiLink to a shared theme. Currently, there are small differences between the ApiLink implementations in the projects, though, so it's not straightforward.

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