docs: Fix broken links and add CI for link checking

- Ran linkcheck on the built docs and fixed broken links
- Added exceptions for private, anchors, and server errors
  that may come up when we run the linkcheck in CI.
- Also ignore self-referential GitHub links with commit hashes
- Fixed links on the insights page
- Converted some links to use the anchored format
- Fixes #1319
This commit is contained in:
Shubham Patil
2025-03-08 18:54:20 +05:30
parent f3724fe898
commit 5cb96e8b3d
6 changed files with 61 additions and 19 deletions
+1
View File
@@ -608,6 +608,7 @@ build_docs:
- cd docs
- pip install -r requirements.txt
- build-docs -t esp32 esp32s3 esp32c2 esp32c3 esp32c6 esp32h2 esp32p4 -l en
- build-docs -t esp32 -l en linkcheck
.deploy_docs_template:
stage: docs