[PATCH] D88116: [NFC][docs] Fix link.

Antonio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 14:31:19 PDT 2020


antonio-cortes-perez created this revision.
antonio-cortes-perez added a reviewer: mehdi_amini.
Herald added a project: LLVM.
antonio-cortes-perez requested review of this revision.

The rendered html was (no hyperlink was generated):

(see Getting Started <GettingStarted.html#git-pre-push-hook>)

Now, it is (with proper hyperlink):

(see Git pre-push hook)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88116

Files:
  llvm/docs/GettingStarted.rst
  llvm/docs/Phabricator.rst


Index: llvm/docs/Phabricator.rst
===================================================================
--- llvm/docs/Phabricator.rst
+++ llvm/docs/Phabricator.rst
@@ -187,7 +187,7 @@
 after removing tags other than "Reviewed by" and "Differential Revision".
 You can run `llvm/utils/git/arcfilter.sh` to clean the commit message of the
 current "HEAD" commit automatically. You can also setup a git hook to catch this
-for you (see `Getting Started <GettingStarted.html#git-pre-push-hook>`).
+for you (see :ref:`git_pre_push_hook`).
 
 
 Committing someone's change from Phabricator
Index: llvm/docs/GettingStarted.rst
===================================================================
--- llvm/docs/GettingStarted.rst
+++ llvm/docs/GettingStarted.rst
@@ -528,6 +528,9 @@
 
 Please ask for help if you're having trouble with your particular git workflow.
 
+
+.. _git_pre_push_hook:
+
 Git pre-push hook
 ^^^^^^^^^^^^^^^^^
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88116.293565.patch
Type: text/x-patch
Size: 924 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200922/965a4466/attachment.bin>


More information about the llvm-commits mailing list