From 28afbf81ecb34add93f5eed2c1a41ec5f278d0a7 Mon Sep 17 00:00:00 2001 From: Nicolas Dechesne Date: Thu, 30 Jul 2020 13:37:11 +0200 Subject: sphinx: fix links when the link text should be displayed When an hyperlink should be display in the output, there is no need to any specific syntax or marker, the parser finds links and mail addresses in ordinary text. Somehow the conversion from pandoc generated wrong output in the form: ` `__. This patch is generated using the following Python regexp: line = re.sub("` <(https?://.*)>`__", "\\1", line) (From yocto-docs rev: a35d735a74425dff34c63c086947624467658c40) Signed-off-by: Nicolas Dechesne Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'documentation/ref-manual/ref-variables.rst') diff --git a/documentation/ref-manual/ref-variables.rst b/documentation/ref-manual/ref-variables.rst index 53e99a395a..205a060103 100644 --- a/documentation/ref-manual/ref-variables.rst +++ b/documentation/ref-manual/ref-variables.rst @@ -546,7 +546,7 @@ system and gives an overview of their function and contents. software. When specifying recipe files, you can pattern match using Python's - ```glob`` `__ syntax. + ```glob`https://docs.python.org/3/library/glob.html syntax. For details on the syntax, see the documentation by following the previous link. @@ -604,7 +604,7 @@ system and gives an overview of their function and contents. compiler. Consequently, the syntax follows Python's Regular Expression (re) syntax. The expressions are compared against the full paths to the files. For complete syntax information, see Python's - documentation at ` `__. + documentation at http://docs.python.org/3/library/re.html#re. The following example uses a complete regular expression to tell BitBake to ignore all recipe and recipe append files in the @@ -2173,7 +2173,7 @@ system and gives an overview of their function and contents. - When specifying files or paths, you can pattern match using Python's - ```glob`` `__ + ```glob`https://docs.python.org/2/library/glob.html syntax. For details on the syntax, see the documentation by following the previous link. @@ -2435,7 +2435,7 @@ system and gives an overview of their function and contents. Here is an example from the ``dbus`` recipe: GROUPADD_PARAM_${PN} = "-r netdev" For information on the standard Linux shell command - ``groupadd``, see ` `__. + ``groupadd``, see http://linux.die.net/man/8/groupadd. GROUPMEMS_PARAM When inheriting the :ref:`useradd ` class, @@ -2444,7 +2444,7 @@ system and gives an overview of their function and contents. of a group when the package is installed. For information on the standard Linux shell command ``groupmems``, - see ` `__. + see http://linux.die.net/man/8/groupmems. GRUB_GFXSERIAL Configures the GNU GRand Unified Bootloader (GRUB) to have graphics @@ -3313,7 +3313,7 @@ system and gives an overview of their function and contents. The value in ``INITSCRIPT_PARAMS`` is passed through to the ``update-rc.d`` command. For more information on valid parameters, please see the ``update-rc.d`` manual page at - ` `__. + http://www.tin.org/bin/man.cgi?section=8&topic=update-rc.d. INSANE_SKIP Specifies the QA checks to skip for a specific package within a @@ -4193,7 +4193,7 @@ system and gives an overview of their function and contents. variable for more information. module_conf - Specifies ```modprobe.d`` `__ + Specifies ```modprobe.d`http://linux.die.net/man/5/modprobe.d syntax lines for inclusion in the ``/etc/modprobe.d/modname.conf`` file. @@ -7069,7 +7069,7 @@ system and gives an overview of their function and contents. toolchain. One example is the Sourcery G++ Toolchain. The support for this toolchain resides in the separate Mentor Graphics ``meta-sourcery`` layer at - ` `__. + http://github.com/MentorEmbedded/meta-sourcery/. The layer's ``README`` file contains information on how to use the Sourcery G++ Toolchain as an external toolchain. In summary, you must @@ -7527,7 +7527,7 @@ system and gives an overview of their function and contents. "sdcard" specifies the ``IMAGE_FSTYPES`` to use for the U-boot image. For more information on how the ``UBOOT_CONFIG`` is handled, see the - ```uboot-config`` `__ + ```uboot-config`http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/uboot-config.bbclass class. UBOOT_ENTRYPOINT @@ -7787,7 +7787,7 @@ system and gives an overview of their function and contents. "--system --home ${localstatedir}/lib/dbus \\ --no-create-home --shell /bin/false \\ --user-group messagebus" For information on the standard Linux shell command ``useradd``, see - ` `__. + http://linux.die.net/man/8/useradd. USERADD_UID_TABLES Specifies a password file to use for obtaining static user -- cgit v1.2.3-54-g00ecf