Fix broken links reported in linkcheck
Summary
This PR addresses issue #4209 by fixing broken links found by make linkcheck.
Changes
-
conf.py: Added
linkcheck_ignoreandlinkcheck_anchors_ignorepatterns for:- Sites that block automated requests (403 errors): Zazzle, Raspberry Pi, Intel, Science.org, linux.die.net
- Matrix.to links (non-standard anchor format)
- SSL-problematic sites (pyyaml.docsforge.com, www2.cs.sfu.ca)
- GitHub line number anchors (which change frequently)
-
Release notes (8 files): Fixed internal relative links:
- Changed
../../{distro}/Installation.htmlto absolutehttps://docs.ros.org/en/{distro}/Installation.html
- Changed
-
Tutorial/Guide fixes:
- Fixed broken cyberbotics.com anchor links
- Fixed IBM Cloud documentation links with invalid anchors
- Fixed rmw_fastrtps README anchor
- Fixed ament_lint_auto anchor
- Fixed rosdistro CONTRIBUTING.md anchor
- Updated Ubuntu 20.04 download URL (focal/daily-live/pending → releases.ubuntu.com)
- Replaced broken SFU unix guide with Ubuntu command line tutorial
Testing
- [x]
make htmlbuilds successfully - [x]
sphinx-lint sourcepasses - [x]
doc8 sourcepasses - [x]
make spellcheckpasses
Notes
This is a partial fix for #4209. The full list of broken links is extensive (100+), and many are in historical release notes pointing to GitHub commits/PRs that have been deleted or moved. This PR focuses on the most impactful fixes for tutorials, how-to guides, and configuration.
Closes #4209
Since this is a partial fix for #4209, then please change "Closes #4209" to "Relates #4209" in the PR description so that merging this PR doesn't close that issue!