[clang] e43a85a - [docs][clang] Fix a broken link on the APINotes doc

Yuki Okushi via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 12 06:53:49 PDT 2022


Author: Yuki Okushi
Date: 2022-06-12T22:53:32+09:00
New Revision: e43a85a363cfd2a4c533fa427d9dbecf0d5c5261

URL: https://github.com/llvm/llvm-project/commit/e43a85a363cfd2a4c533fa427d9dbecf0d5c5261
DIFF: https://github.com/llvm/llvm-project/commit/e43a85a363cfd2a4c533fa427d9dbecf0d5c5261.diff

LOG: [docs][clang] Fix a broken link on the APINotes doc

This patch replaces a link with a GitHub one.

Fixes llvm#55748

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

Added: 
    

Modified: 
    clang/docs/APINotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/APINotes.rst b/clang/docs/APINotes.rst
index 4ac4c01cdefba..a6e200e8bffde 100644
--- a/clang/docs/APINotes.rst
+++ b/clang/docs/APINotes.rst
@@ -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
 =====


        


More information about the cfe-commits mailing list