[docs][clang] Fix a broken link on the APINotes doc
authorYuki Okushi <jtitor@2k36.org>
Sat, 28 May 2022 16:59:56 +0000 (01:59 +0900)
committerYuki Okushi <jtitor@2k36.org>
Sun, 12 Jun 2022 13:53:32 +0000 (22:53 +0900)
This patch replaces a link with a GitHub one.

Fixes llvm#55748

Differential Revision: https://reviews.llvm.org/D126599

clang/docs/APINotes.rst

index 4ac4c01..a6e200e 100644 (file)
@@ -22,11 +22,11 @@ the compiler.
 That's API notes.
 
 API notes use a YAML-based file format. YAML is a format best explained by
-example, so here is a `small example`__ from the compiler test suite of API
+example, so here is a `small example
+<https://github.com/llvm/llvm-project/blob/main/clang/test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.apinotes>`_
+from the compiler test suite of API
 notes for a hypothetical "SomeKit" framework.
 
-__ test/APINotes/Inputs/Frameworks/SomeKit.framework/Headers/SomeKit.apinotes
-
 
 Usage
 =====