[llvm] af429cd - [NFC][docs] Fix link.

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 16:40:13 PDT 2020


Author: antonio-cortes-perez
Date: 2020-09-22T23:40:03Z
New Revision: af429cd89bf83bbbef295ded85e66f03776ec015

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

LOG: [NFC][docs] Fix link.

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)

Reviewed By: mehdi_amini

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/docs/GettingStarted.rst b/llvm/docs/GettingStarted.rst
index c30ebecc89e03..70e12b0f877a0 100644
--- a/llvm/docs/GettingStarted.rst
+++ b/llvm/docs/GettingStarted.rst
@@ -528,6 +528,9 @@ that include merges, so the `git rebase` step above is required.
 
 Please ask for help if you're having trouble with your particular git workflow.
 
+
+.. _git_pre_push_hook:
+
 Git pre-push hook
 ^^^^^^^^^^^^^^^^^
 

diff  --git a/llvm/docs/Phabricator.rst b/llvm/docs/Phabricator.rst
index e0e406136e623..b1adb9be85d44 100644
--- a/llvm/docs/Phabricator.rst
+++ b/llvm/docs/Phabricator.rst
@@ -187,7 +187,7 @@ this reason avoid using `arc land` and push commits to master directly with git
 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


        


More information about the llvm-commits mailing list