docs: fix broken links across the documentation site#865
Open
vdusek wants to merge 2 commits into
Open
Conversation
Pin the frozen versioned API-reference source links to immutable version tags instead of `master` (they 404'd after the source refactor), absolutize the relative `/platform` links and the Docker cache anchor in the model docstrings and version snapshots, and correct the changelog release-tag URLs. Verified with lychee (run like apify-docs): doc-link 404s drop from 379 to 10, with the remainder being theme/plugin artifacts.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #865 +/- ##
=======================================
Coverage 94.51% 94.51%
=======================================
Files 48 48
Lines 5069 5069
=======================================
Hits 4791 4791
Misses 278 278
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
Author
Pijukatel
approved these changes
Jun 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checked all documentation links with lychee (the same checker used in apify-docs, run over the built site) and fixed the broken ones. Doc-link 404s drop from 379 to 10.
blob/master/…, which started 404ing after theclients/resource_clients/→_resource_clients/andclient.py→_apify_client.pyrefactor. Pinned them to the immutable version tag (e.g.blob/v2.5.1/…), mirroring how apify-sdk-python pins them to a commit SHA.](/platform/…)links and fixed the malformed Docker build-cache anchor. Addedabsolutize_doc_links()toscripts/postprocess_generated_models.pyso regeneration keeps them absolute.releases/tags/→releases/tag/, andv1.3.0→1.3.0since that tag has novprefix).The remaining 10 are theme/plugin artifacts (changelog "Edit this page" links pointing at generated files, an llms-txt
blog.mdlink, a frozen 1.12 cross-reference) plus a local-onlyreference/nextDocker link that regenerates correctly in CI.