summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2018-04-12 10:54:20 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-24 17:16:13 +0100
commit7105c52799c506961ec59e28681d8d6b588ffb4a (patch)
treec6977fb745cccc59de8bc0ca6703f39fa4406a9c
parentc555881ac8e62e1bc1ddd9e0337e0c70a560b3b6 (diff)
downloadpoky-7105c52799c506961ec59e28681d8d6b588ffb4a.tar.gz
mega-manual.sed: Added overview manual and extra subst.
Updated the script to process the overview-manual strings found in the mega-manual. These changed due to the folder chaning from "getting-started" to "overview-manual". Additionally, I discovered a single occurrence of a linked reference to the mega-manual that was in the mega-manual. This is not ideal. That link needs to be a link in the ref-manual where it originates. However, the link in the mega-manual should not link to itself. That link needed processing just like all top-level book links in the mega-manual. The link should be removed. I added a single substitution operation at the end of the file to handle this lone case within the mega-manual. (From yocto-docs rev: 57ebdb1cb10a4df0d69316d1f116d7804199ae90) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--documentation/tools/mega-manual.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/documentation/tools/mega-manual.sed b/documentation/tools/mega-manual.sed
index e1dc98ad42..6d8c6e7ef4 100644
--- a/documentation/tools/mega-manual.sed
+++ b/documentation/tools/mega-manual.sed
@@ -34,3 +34,7 @@ s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/profile-manua
34s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/kernel-dev\/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g 34s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/kernel-dev\/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual<\/a>/Yocto Project Linux Kernel Development Manual/g
35s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/ref-manual\/ref-manual.html" target="_top">Yocto Project Reference Manual<\/a>/Yocto Project Reference Manual/g 35s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/ref-manual\/ref-manual.html" target="_top">Yocto Project Reference Manual<\/a>/Yocto Project Reference Manual/g
36s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/toaster-manual\/toaster-manual.html" target="_top">Toaster User Manual<\/a>/Toaster User Manual/g 36s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/toaster-manual\/toaster-manual.html" target="_top">Toaster User Manual<\/a>/Toaster User Manual/g
37
38# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
39s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/mega-manual\/mega-manual.html" target="_top">Yocto Project Mega-Manual<\/a>/Yocto Project Mega-Manual/g
40