1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

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: ` <link>`__. 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 <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Nicolas Dechesne
2020-07-30 13:37:11 +02:00
committed by Richard Purdie
parent 283ed72d48
commit 28afbf81ec
22 changed files with 70 additions and 70 deletions
@@ -385,7 +385,7 @@ figure <#general-workflow-figure>`__:
- *Metadata (``.bb`` + Patches):* Software layers containing
user-supplied recipe files, patches, and append files. A good example
of a software layer might be the
```meta-qt5`` <https://github.com/meta-qt5/meta-qt5>`__ layer from
```meta-qt5`https://github.com/meta-qt5/meta-qt5 layer from
the `OpenEmbedded Layer
Index <http://layers.openembedded.org/layerindex/branch/master/layers/>`__.
This layer is for version 5.0 of the popular
@@ -381,12 +381,12 @@ commands.
.. note::
- For more information on Git, see
` <http://git-scm.com/documentation>`__.
http://git-scm.com/documentation.
- If you need to download Git, it is recommended that you add Git to
your system through your distribution's "software store" (e.g. for
Ubuntu, use the Ubuntu Software feature). For the Git download
page, see ` <http://git-scm.com/download>`__.
page, see http://git-scm.com/download.
- For information beyond the introductory nature in this section,
see the "`Locating Yocto Project Source