[llvm] b4ba5c7 - [Docs][llvm-remarkutil] Fix dangling reference in documentation

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 8 00:50:13 PDT 2023


Author: Aiden Grossman
Date: 2023-04-08T07:50:06Z
New Revision: b4ba5c7984d29841ac92ef54a6bac44fb1eeab9b

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

LOG: [Docs][llvm-remarkutil] Fix dangling reference in documentation

D147710 introduced a new annotation-count subcommand to llvm-remarkutil
and added in documentation. However, the reference added under the
subcommands list never actually pointed to anything. This patch adds a
marker for the reference to point to so that the link works and the
sphinx build finishes without any errors.

Added: 
    

Modified: 
    llvm/docs/CommandGuide/llvm-remarkutil.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/CommandGuide/llvm-remarkutil.rst b/llvm/docs/CommandGuide/llvm-remarkutil.rst
index 6a6bd51b82818..4dc5cefabf42f 100644
--- a/llvm/docs/CommandGuide/llvm-remarkutil.rst
+++ b/llvm/docs/CommandGuide/llvm-remarkutil.rst
@@ -74,6 +74,8 @@ CSV format is as follows:
   Function,InstructionCount
   foo,123
 
+.. _annotation-count_subcommand:
+
 annotation-count
 ~~~~~~~~~~~~~~~~~
 


        


More information about the llvm-commits mailing list