Skip to contentSkip to conversation

manuals: replace unnecessary uses of 'yocto_docs' by internal references

PATCH New [email protected] 1 participant 1 message Feb 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 manuals: replace unnecessary uses of 'yocto_docs' by internal references

From: Michael Opdenacker <[email protected]>

These :yocto_docs: references were making external references to another section of the manual, using the https://docs.yoctoproject.org
website. It's actually better to use internal references (:doc: for an entire document, and :ref: for a specific section, as they will cause an error in Sphinx if one day they are no longer valid.

---
 documentation/ref-manual/resources.rst            | 2 +-
 documentation/ref-manual/variables.rst            | 2 +-
 documentation/test-manual/reproducible-builds.rst | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)
documentation/ref-manual/resources.rst +1 -1
index 5a09909c70..d2344e39a0 100644
@@ -173,7 +173,7 @@ Here is a list of resources you might find helpful:
 -  :yocto_wiki:`FAQ </FAQ>`: A list of commonly asked
    questions and their answers.
 
--  :yocto_docs:`Release Information </migration-guides/>`:
+-  :doc:`Release Information </migration-guides/index>`:
    Migration guides, release notes, new features, updates and known issues
    for the current and past releases of the Yocto Project.
 
documentation/ref-manual/variables.rst +1 -1
index edc3aa6523..73a9975905 100644
@@ -8481,7 +8481,7 @@ system and gives an overview of their function and contents.
          responsibility to ensure that the toolchain is compatible with the
          default toolchain. Using older or newer versions of these
          components might cause build problems. See
-         :yocto_docs:`Release Information </migration-guides/>` for your
+         :doc:`Release Information </migration-guides/index>` for your
          version of the Yocto Project, to find the specific components with
          which the toolchain must be compatible.
 
documentation/test-manual/reproducible-builds.rst +2 -2
index 2a2f7790d2..50256fb197 100644
@@ -24,8 +24,8 @@ reproducibility matters. The primary focus of the project is the ability to
 detect security issues being introduced. However, from a Yocto Project
 perspective, it is also hugely important that our builds are deterministic. When
 you build a given input set of metadata, we expect you to get consistent output.
-This has always been a key focus but, :yocto_docs:`since release 3.1 ("dunfell")
-</ref-manual/migration-3.1.html#reproducible-builds-now-enabled-by-default>`,
+This has always been a key focus but, :ref:`since release 3.1 ("dunfell")
+<migration-guides/migration-3.1:reproducible builds now enabled by default>`,
 it is now true down to the binary level including timestamps.
 
 For example, at some point in the future life of a product, you find that you
Signature · 1 line
2.37.2