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/adt-manual/adt-intro.rst | 10 +++++----- documentation/adt-manual/adt-package.rst | 6 +++--- documentation/adt-manual/adt-prepare.rst | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) (limited to 'documentation/adt-manual') diff --git a/documentation/adt-manual/adt-intro.rst b/documentation/adt-manual/adt-intro.rst index d6228ad864..5372f4f54f 100644 --- a/documentation/adt-manual/adt-intro.rst +++ b/documentation/adt-manual/adt-intro.rst @@ -107,18 +107,18 @@ tools are common development tools for the Linux platform. - *PowerTOP:* Helps you determine what software is using the most power. You can find out more about PowerTOP at - ` `__. + https://01.org/powertop/. - *OProfile:* A system-wide profiler for Linux systems that is capable of profiling all running code at low overhead. You can find out more - about OProfile at ` `__. For + about OProfile at http://oprofile.sourceforge.net/about/. For examples on how to setup and use this tool, see the "`OProfile <&YOCTO_DOCS_PROF_URL;#profile-manual-oprofile>`__" section in the Yocto Project Profiling and Tracing Manual. - *Perf:* Performance counters for Linux used to keep track of certain types of hardware and software events. For more information on these - types of counters see ` `__. For + types of counters see https://perf.wiki.kernel.org/. For examples on how to setup and use this tool, see the "`perf <&YOCTO_DOCS_PROF_URL;#profile-manual-perf>`__" section in the Yocto Project Profiling and Tracing Manual. @@ -127,12 +127,12 @@ tools are common development tools for the Linux platform. information gathering about a running Linux system. This information helps you diagnose performance or functional problems. SystemTap is not available as a user-space tool through the Eclipse IDE Yocto - Plug-in. See ` `__ for more + Plug-in. See http://sourceware.org/systemtap for more information on SystemTap. For examples on how to setup and use this tool, see the "`SystemTap <&YOCTO_DOCS_PROF_URL;#profile-manual-systemtap>`__" section in the Yocto Project Profiling and Tracing Manual. - *Lttng-ust:* A User-space Tracer designed to provide detailed - information on user-space activity. See ` `__ + information on user-space activity. See http://lttng.org/ust for more information on Lttng-ust. diff --git a/documentation/adt-manual/adt-package.rst b/documentation/adt-manual/adt-package.rst index dfa62163b3..787d406e65 100644 --- a/documentation/adt-manual/adt-package.rst +++ b/documentation/adt-manual/adt-package.rst @@ -20,19 +20,19 @@ using three different Package Management Systems (PMS): - *OPKG:* A less well known PMS whose use originated in the OpenEmbedded and OpenWrt embedded Linux projects. This PMS works with files packaged in an ``.ipk`` format. See - ` `__ for more information about + http://en.wikipedia.org/wiki/Opkg for more information about OPKG. - *RPM:* A more widely known PMS intended for GNU/Linux distributions. This PMS works with files packaged in an ``.rpm`` format. The build system currently installs through this PMS by default. See - ` `__ for more + http://en.wikipedia.org/wiki/RPM_Package_Manager for more information about RPM. - *Debian:* The PMS for Debian-based systems is built on many PMS tools. The lower-level PMS tool ``dpkg`` forms the base of the Debian PMS. For information on dpkg see - ` `__. + http://en.wikipedia.org/wiki/Dpkg. Configuring the PMS =================== diff --git a/documentation/adt-manual/adt-prepare.rst b/documentation/adt-manual/adt-prepare.rst index 27133d21b4..e2141f8059 100644 --- a/documentation/adt-manual/adt-prepare.rst +++ b/documentation/adt-manual/adt-prepare.rst @@ -137,7 +137,7 @@ comments in the ``adt-installer.conf`` file: set up your own IPKG repository pointed to by ``YOCTOADT_REPO``, you need to be sure that the directory structure follows the same layout as the reference directory set up at - ` `__. Also, your repository needs + http://adtrepo.yoctoproject.org. Also, your repository needs to be accessible through HTTP. - ``YOCTOADT_TARGETS``: The machine target architectures for which you @@ -572,7 +572,7 @@ follows: A good example of an external toolchain used with the Yocto Project is Mentor Graphics Sourcery G++ Toolchain. You can see information on how to use that particular layer in the ``README`` file at -` `__. You can find +http://github.com/MentorEmbedded/meta-sourcery/. You can find further information by reading about the :term:`TCMODE` variable in the Yocto Project Reference Manual's variable glossary. -- cgit v1.2.3-54-g00ecf