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/toaster-manual/toaster-manual-intro.rst | 2 +- documentation/toaster-manual/toaster-manual-reference.rst | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'documentation/toaster-manual') diff --git a/documentation/toaster-manual/toaster-manual-intro.rst b/documentation/toaster-manual/toaster-manual-intro.rst index c9d2617394..cc972f7c73 100644 --- a/documentation/toaster-manual/toaster-manual-intro.rst +++ b/documentation/toaster-manual/toaster-manual-intro.rst @@ -29,7 +29,7 @@ extensive information about the build process. - Browse layers listed in the various `layer sources <#layer-source>`__ that are available in your project (e.g. the OpenEmbedded Layer Index at - ` `__). + http://layers.openembedded.org/layerindex/). - Browse images, recipes, and machines provided by those layers. diff --git a/documentation/toaster-manual/toaster-manual-reference.rst b/documentation/toaster-manual/toaster-manual-reference.rst index 0494f55d9e..a628c78cc2 100644 --- a/documentation/toaster-manual/toaster-manual-reference.rst +++ b/documentation/toaster-manual/toaster-manual-reference.rst @@ -24,9 +24,9 @@ type of layer source called a "layer index." A layer index is a web application that contains information about a set of custom layers. A good example of an existing layer index is the OpenEmbedded Layer Index. A public instance of this layer index exists -at ` `__. You can find the code for this +at http://layers.openembedded.org. You can find the code for this layer index's web application at -` `__. +http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/. When you tie a layer source into Toaster, it can query the layer source through a @@ -87,9 +87,9 @@ describes two methods by which you can configure and use your layer index. In the previous section, the code for the OpenEmbedded Metadata Index -(i.e. ` `__) was referenced. You can use +(i.e. http://layers.openembedded.org) was referenced. You can use this code, which is at -` `__, as a +http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/, as a base to create your own layer index. Use the Administration Interface -- cgit v1.2.3-54-g00ecf