[clang] [llvm] [clang-tools-extra] [compiler-rt] fix wrong links in documentation (PR #76502)

Hana Dusíková via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 6 15:15:58 PST 2024


https://github.com/hanickadot updated https://github.com/llvm/llvm-project/pull/76502

>From 93e8cc7c4310f8b91be4d72f4862f5ed7c06c33b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?= <hanicka at hanicka.net>
Date: Thu, 28 Dec 2023 14:30:35 +0100
Subject: [PATCH] [llvm] fix wrong links in documentation

---
 llvm/docs/SphinxQuickstartTemplate.rst                    | 2 +-
 llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/docs/SphinxQuickstartTemplate.rst b/llvm/docs/SphinxQuickstartTemplate.rst
index 956adabce78c24..8d21b43c050d75 100644
--- a/llvm/docs/SphinxQuickstartTemplate.rst
+++ b/llvm/docs/SphinxQuickstartTemplate.rst
@@ -170,7 +170,7 @@ Generating the documentation
 
 You can generate the HTML documentation from the sources locally if you want to
 see what they would look like. In addition to the normal
-`build tools <docs/GettingStarted.html>`_
+`build tools <GettingStarted.html>`_
 you need to install `Sphinx`_ and the necessary extensions
 using the following command inside the ``llvm-project`` checkout:
 
diff --git a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
index 17bf8a47c84c78..2e3d4ed0a30873 100644
--- a/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
+++ b/llvm/docs/tutorial/MyFirstLanguageFrontend/LangImpl08.rst
@@ -122,7 +122,7 @@ Configuring the Module
 
 We're now ready to configure our module, to specify the target and
 data layout. This isn't strictly necessary, but the `frontend
-performance guide <../Frontend/PerformanceTips.html>`_ recommends
+performance guide <../../Frontend/PerformanceTips.html>`_ recommends
 this. Optimizations benefit from knowing about the target and data
 layout.
 



More information about the llvm-commits mailing list