ros2_documentation icon indicating copy to clipboard operation
ros2_documentation copied to clipboard

Fix broken links reported in linkcheck

Open Shivam-Bhardwaj opened this issue 10 months ago • 1 comments

Summary

This PR addresses issue #4209 by fixing broken links found by make linkcheck.

Changes

  1. conf.py: Added linkcheck_ignore and linkcheck_anchors_ignore patterns 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)
  2. Release notes (8 files): Fixed internal relative links:

    • Changed ../../{distro}/Installation.html to absolute https://docs.ros.org/en/{distro}/Installation.html
  3. 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 html builds successfully
  • [x] sphinx-lint source passes
  • [x] doc8 source passes
  • [x] make spellcheck passes

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

Shivam-Bhardwaj avatar Jan 21 '26 03:01 Shivam-Bhardwaj

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!

christophebedard avatar Jan 22 '26 00:01 christophebedard