• Logo
    Documentation starter pack
  • documentation.ubuntu.com
  • More resources
    • Discourse
    • Mattermost
    • Matrix
    • GitHub
Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Documentation starter pack documentation
Documentation starter pack documentation
  • Quickstart guide
  • Initial setup
    • Enable the starter pack
    • Customise the setup
    • Integrate the Makefiles
    • Set up Read the Docs
  • Update the documentation
    • Install prerequisites
    • Build and preview
    • Get guidance
  • Automatic checks
    • Accessibility check
    • Inclusive language check
    • Link check
    • Spelling check
    • Style guide linting
  • Starter pack examples
Back to top
View this page

Link check¶

The link check uses Sphinx to access the links in the documentation output and validate whether they are working.

Run the link check¶

Validate links within the documentation:

make linkcheck

Configure the link check¶

If you have links in the documentation that you don’t want to be checked (for example, because they are local links or give random errors even though they work), you can add them to the linkcheck_ignore variable in the conf.py file.

Copyright © 2024 CC-BY-SA, Canonical Ltd.
Last updated on Oct 08, 2024
Show source
Thanks to our contributor!
  • Ruth Fuchss
Ask a question on Discourse
Ask a question on Mattermost
Ask a question on Matrix
Open a GitHub issue for this page
Edit this page on GitHub
Contents
  • Link check
    • Run the link check
    • Configure the link check