summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2025-04-09 11:55:42 +0200
committerSteve Sakoman <steve@sakoman.com>2025-05-02 08:12:41 -0700
commite9e862752d122945318685ff9eaf6a3090f0f961 (patch)
treee2f7947861e3753a5a83e0e87c65267cb7dfd18f /documentation/ref-manual
parentdc41858fe3622e8f5e088a7402ef89cd4a560236 (diff)
downloadpoky-e9e862752d122945318685ff9eaf6a3090f0f961.tar.gz
Fix dead links that use the DISTRO macro
After introducing the DISTRO_LATEST_TAG and DISTRO_REL_LATEST_TAG macros, use them in links that currently use DISTRO/DISTRO_REL_TAG. When building for the tip of a branch, this will replace the current A.B.999 in links to the latest existing tag. The links were found across the documentation by running 'grep -r "http.*5\.2\.999"' inside the _build/html output after building the docs. [YOCTO #14802] (From yocto-docs rev: 0d51e553d5f83eea6634e03ddc9c7740bf72fcea) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> (cherry picked from commit 29be069ebbf2c55d72fc51d99ed5a558af37c05e) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r--documentation/ref-manual/system-requirements.rst2
-rw-r--r--documentation/ref-manual/terms.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/documentation/ref-manual/system-requirements.rst b/documentation/ref-manual/system-requirements.rst
index 80f4a1c80b..660a2051ae 100644
--- a/documentation/ref-manual/system-requirements.rst
+++ b/documentation/ref-manual/system-requirements.rst
@@ -340,7 +340,7 @@ If you would prefer not to use the ``install-buildtools`` script, you can instea
340download and run a pre-built :term:`buildtools` installer yourself with the following 340download and run a pre-built :term:`buildtools` installer yourself with the following
341steps: 341steps:
342 342
343#. Go to :yocto_dl:`/releases/yocto/yocto-&DISTRO;/buildtools/`, locate and 343#. Go to :yocto_dl:`/releases/yocto/&DISTRO_REL_LATEST_TAG;/buildtools/`, locate and
344 download the ``.sh`` file corresponding to your host architecture 344 download the ``.sh`` file corresponding to your host architecture
345 and to :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`. 345 and to :term:`buildtools`, :term:`buildtools-extended` or :term:`buildtools-make`.
346 346
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 2ccfe1c238..89cbc8ac68 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -450,7 +450,7 @@ universal, the list includes them just in case:
450 the Source Directory, if you do, the top-level directory name of the 450 the Source Directory, if you do, the top-level directory name of the
451 Source Directory is derived from the Yocto Project release tarball. 451 Source Directory is derived from the Yocto Project release tarball.
452 For example, downloading and unpacking poky tarballs from 452 For example, downloading and unpacking poky tarballs from
453 :yocto_dl:`/releases/yocto/&DISTRO_REL_TAG;/` 453 :yocto_dl:`/releases/yocto/&DISTRO_REL_LATEST_TAG;/`
454 results in a Source Directory whose root folder is named poky. 454 results in a Source Directory whose root folder is named poky.
455 455
456 456