https://github.com/rnk created https://github.com/llvm/llvm-project/pull/228625
Replace same-project absolute URLs with relative source links or Sphinx
cross-references in LLVM, Flang, libc, clang-tools-extra, and OpenMP.
Use the explicit LangRef label for atomic.ignore.denormal.mode metadata.
This lets Sphinx validate the targets and keeps local and archived
documentation self-contained.
Validation: docs-llvm-html, docs-llvm-man, docs-llvm-dwarfdump-man,
docs-dsymutil-man, docs-flang-html, docs-flang-man, docs-clang-tools-html,
docs-clang-tools-man, docs-libc-html, docs-openmp-html, and docs-openmp-man,
followed by fresh Sphinx rebuilds (-E), on a merge of the three independent
self-link fixes with the checker enabled and warnings-as-errors disabled.
No self-link warnings or new warning messages compared with the audit
baseline.
Part of #214861
Assisted-by: Codex
>From 98b222ea40948378a47585379546910ace6ffef2 Mon Sep 17 00:00:00 2001
From: Reid Kleckner
Date: Fri, 2 Oct 2026 23:37:21 +
Subject: [PATCH] [docs] Repair remaining absolute self-documentation links
Replace same-project absolute URLs with relative source links or Sphinx
cross-references in LLVM, Flang, libc, clang-tools-extra, and OpenMP.
Use the explicit LangRef label for atomic.ignore.denormal.mode metadata.
This lets Sphinx validate the targets and keeps local and archived
documentation self-contained.
Validation: docs-llvm-html, docs-llvm-man, docs-llvm-dwarfdump-man,
docs-dsymutil-man, docs-flang-html, docs-flang-man, docs-clang-tools-html,
docs-clang-tools-man, docs-libc-html, docs-openmp-html, and docs-openmp-man,
followed by fresh Sphinx rebuilds (-E), on a merge of the three independent
self-link fixes with the checker enabled and warnings-as-errors disabled.
No self-link warnings or new warning messages compared with the audit
baseline.
Part of #214861
Assisted-by: Codex
---
clang-tools-extra/Maintainers.md | 2 +-
clang-tools-extra/docs/clang-tidy.md | 2 +-
clang-tools-extra/docs/clang-tidy/Contributing.rst | 2 +-
flang/docs/GettingInvolved.md | 2 +-
flang/docs/GettingStarted.md | 2 +-
libc/docs/dev/code_style.md| 8
llvm/docs/AMDGPUUsage.rst | 4 ++--
openmp/docs/CommandLineArgumentReference.md| 4 ++--
8 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/clang-tools-extra/Maintainers.md b/clang-tools-extra/Maintainers.md
index 8830b86e09d7d17..5fb679f1e666d9d 100644
--- a/clang-tools-extra/Maintainers.md
+++ b/clang-tools-extra/Maintainers.md
@@ -2,7 +2,7 @@
This file is a list of the
[maintainers](https://llvm.org/docs/DeveloperPolicy.html#maintainers)
-for the [Extra Clang Tools](https://clang.llvm.org/extra/index.html) project.
+for the {doc}`Extra Clang Tools ` project.
# Active Maintainers
diff --git a/clang-tools-extra/docs/clang-tidy.md
b/clang-tools-extra/docs/clang-tidy.md
index e1bab163a568541..6bc6e2d341ab234 100644
--- a/clang-tools-extra/docs/clang-tidy.md
+++ b/clang-tools-extra/docs/clang-tidy.md
@@ -7,4 +7,4 @@ orphan: true
:http-equiv=refresh: 0;URL='clang-tidy/'
```
-clang-tidy documentation has moved here:
+clang-tidy documentation has moved here: [clang-tidy](clang-tidy/index.rst)
diff --git a/clang-tools-extra/docs/clang-tidy/Contributing.rst
b/clang-tools-extra/docs/clang-tidy/Contributing.rst
index 1aafd7dc7faffc2..7534b69cec2f62b 100644
--- a/clang-tools-extra/docs/clang-tidy/Contributing.rst
+++ b/clang-tools-extra/docs/clang-tidy/Contributing.rst
@@ -442,7 +442,7 @@ Documenting your check
^^
The ``add_new_check.py`` script creates entries in the
-`release notes `_, the list of
+:doc:`release notes `, the list of
checks and a new file for the check documentation itself. It is recommended
that you have a concise summary of what your check does in a single sentence
diff --git a/flang/docs/GettingInvolved.md b/flang/docs/GettingInvolved.md
index 8126d2cad7faacf..fe346591d91d03e 100644
--- a/flang/docs/GettingInvolved.md
+++ b/flang/docs/GettingInvolved.md
@@ -73,7 +73,7 @@ Contributions to Flang are done using GitHub Pull Requests
and follow the
- Join [OpenMP in Flang Technical Call](https://bit.ly/39eQW3o)
- Time: Biweekly call on Thursdays 7:30 AM Pacific time. Please check the
[LLVM Community
Calendar](https://calendar.google.com/calendar/u/0/[email protected])
for the next scheduled call.
- Meeting minutes are
[here](https://docs.google.com/document/d/1yA-MeJf6RYY-ZXpdol0t7YoDoqtwAyBhFLr5thu5pFI).
-- Status tracking [page](https://flang.llvm.org/docs/OpenMPSupport.html).
+- Status tracking [page](OpenMPSupport.md).
### OpenMP in LLVM Technical Call
diff --git a/flang/docs/GettingStarted.md b/flang/docs/GettingStarted.md
index cc3b6690d13a77a..9d621b2b7829f14 100644