-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Linkcheck fails on GitHub Doc URLs #10343
Copy link
Copy link
Closed
Labels
Description
Describe the bug
Sphinx linkcheck fails with a 403 Client Error: Forbidden error on every GitHub Docs site URL, even though the links are correct and work fine.
How to Reproduce
- Create a new sphinx project with
sphinx-quickstart. - Add a
docs.github.comURL to theindex.rstfile, like so:`GitHub Hello World <https://docs.github.com/en/get-started/quickstart/hello-world>`_
- Run
make linkcheck
And you can verify that the above link works fine:
Expected behavior
There should be no broken link error.
Your project
Screenshots
No response
OS
Mac OS 11.6.5 and linux
Python version
3.10.4
Sphinx version
4.2.0+
Sphinx extensions
No response
Extra tools
No response
Additional context
No response
Reactions are currently unavailable