diff options
author | Aurelio Jargas <aurelio@aurelio.net> | 2018-04-13 10:21:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-24 17:16:14 +0100 |
commit | a2cf4fd984b7d9a149943a2b3fd454ff16d6ec14 (patch) | |
tree | 1b41d8671b0c5d0aaf2186835ce32b338f4e67be /documentation/tools/mega-manual.sed | |
parent | 14ea87e2eedbc1a1e69bc8bd1fe9bd0803eae9c8 (diff) | |
download | poky-a2cf4fd984b7d9a149943a2b3fd454ff16d6ec14.tar.gz |
mega-manual.sed: Improved readability
Using the "@" character to de-specialize the "/" character.
This change makes the file more readable.
(From yocto-docs rev: d15c9ce6cc365768677cdd40a8859bb96aad7dc4)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/tools/mega-manual.sed')
-rw-r--r-- | documentation/tools/mega-manual.sed | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/documentation/tools/mega-manual.sed b/documentation/tools/mega-manual.sed index 6d8c6e7ef4..64fa4d2190 100644 --- a/documentation/tools/mega-manual.sed +++ b/documentation/tools/mega-manual.sed | |||
@@ -2,39 +2,39 @@ | |||
2 | # This style is for manual folders like "yocto-project-qs" and "poky-ref-manual". | 2 | # This style is for manual folders like "yocto-project-qs" and "poky-ref-manual". |
3 | # This is the old way that did it. Can't do that now that we have "bitbake-user-manual" strings | 3 | # This is the old way that did it. Can't do that now that we have "bitbake-user-manual" strings |
4 | # in the mega-manual. | 4 | # in the mega-manual. |
5 | # s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/[a-z]*-[a-z]*-[a-z]*\/[a-z]*-[a-z]*-[a-z]*.html#/"link" href="#/g | 5 | # s@"ulink" href="http://www.yoctoproject.org/docs/2.5/[a-z]*-[a-z]*-[a-z]*/[a-z]*-[a-z]*-[a-z]*.html#@"link" href="#@g |
6 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/yocto-project-qs\/yocto-project-qs.html#/"link" href="#/g | 6 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/yocto-project-qs/yocto-project-qs.html#@"link" href="#@g |
7 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/poky-ref-manual\/poky-ref-manual.html#/"link" href="#/g | 7 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/poky-ref-manual/poky-ref-manual.html#@"link" href="#@g |
8 | 8 | ||
9 | # Processes all other manuals (<word>-<word> style) except for the BitBake User Manual because | 9 | # Processes all other manuals (<word>-<word> style) except for the BitBake User Manual because |
10 | # it is not included in the mega-manual. | 10 | # it is not included in the mega-manual. |
11 | # This style is for manual folders that use two word, which is the standard now (e.g. "ref-manual"). | 11 | # This style is for manual folders that use two word, which is the standard now (e.g. "ref-manual"). |
12 | # This was the one-liner that worked before we introduced the BitBake User Manual, which is | 12 | # This was the one-liner that worked before we introduced the BitBake User Manual, which is |
13 | # not in the mega-manual. | 13 | # not in the mega-manual. |
14 | # s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/[a-z]*-[a-z]*\/[a-z]*-[a-z]*.html#/"link" href="#/g | 14 | # s@"ulink" href="http://www.yoctoproject.org/docs/2.5/[a-z]*-[a-z]*/[a-z]*-[a-z]*.html#@"link" href="#@g |
15 | 15 | ||
16 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/sdk-manual\/sdk-manual.html#/"link" href="#/g | 16 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html#@"link" href="#@g |
17 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/bsp-guide\/bsp-guide.html#/"link" href="#/g | 17 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/bsp-guide/bsp-guide.html#@"link" href="#@g |
18 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/dev-manual\/dev-manual.html#/"link" href="#/g | 18 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html#@"link" href="#@g |
19 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/overview-manual\/overview-manual.html#/"link" href="#/g | 19 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/overview-manual/overview-manual.html#@"link" href="#@g |
20 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/brief-yoctoprojectqs\/brief-yoctoprojectqs.html#/"link" href="#/g | 20 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/brief-yoctoprojectqs/brief-yoctoprojectqs.html#@"link" href="#@g |
21 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/kernel-dev\/kernel-dev.html#/"link" href="#/g | 21 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/kernel-dev/kernel-dev.html#@"link" href="#@g |
22 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/profile-manual\/profile-manual.html#/"link" href="#/g | 22 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/profile-manual/profile-manual.html#@"link" href="#@g |
23 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/ref-manual\/ref-manual.html#/"link" href="#/g | 23 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#@"link" href="#@g |
24 | s/"ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/toaster-manual\/toaster-manual.html#/"link" href="#/g | 24 | s@"ulink" href="http://www.yoctoproject.org/docs/2.5/toaster-manual/toaster-manual.html#@"link" href="#@g |
25 | 25 | ||
26 | # Process cases where just an external manual is referenced without an id anchor | 26 | # Process cases where just an external manual is referenced without an id anchor |
27 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/brief-yoctoprojectqs\/brief-yoctoprojectqs.html" target="_top">Yocto Project Quick Build<\/a>/Yocto Project Quick Build/g | 27 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/brief-yoctoprojectqs/brief-yoctoprojectqs.html" target="_top">Yocto Project Quick Build</a>@Yocto Project Quick Build@g |
28 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/yocto-project-qs\/yocto-project-qs.html" target="_top">Yocto Project Quick Start<\/a>/Yocto Project Quick Start/g | 28 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/yocto-project-qs/yocto-project-qs.html" target="_top">Yocto Project Quick Start</a>@Yocto Project Quick Start@g |
29 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/dev-manual\/dev-manual.html" target="_top">Yocto Project Development Tasks Manual<\/a>/Yocto Project Development Tasks Manual/g | 29 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g |
30 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/overview-manual\/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual<\/a>/Yocto project Overview and Concepts Manual/g | 30 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g |
31 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/sdk-manual\/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)<\/a>/Yocto Project Application Development and the Extensible Software Development Kit (eSDK)/g | 31 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/sdk-manual/sdk-manual.html" target="_top">Yocto Project Application Development and the Extensible Software Development Kit (eSDK)</a>@Yocto Project Application Development and the Extensible Software Development Kit (eSDK)@g |
32 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/bsp-guide\/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g | 32 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/bsp-guide/bsp-guide.html" target="_top">Yocto Project Board Support Package (BSP) Developer's Guide</a>@Yocto Project Board Support Package (BSP) Developer's Guide@g |
33 | s/<a class="ulink" href="http:\/\/www.yoctoproject.org\/docs\/2.5\/profile-manual\/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual<\/a>/Yocto Project Profiling and Tracing Manual/g | 33 | s@<a class="ulink" href="http://www.yoctoproject.org/docs/2.5/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g |
34 | s/<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 | 34 | s@<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 |
35 | s/<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 | 35 | s@<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 |
36 | s/<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 | 36 | s@<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 | 37 | ||
38 | # Process a single, rouge occurrence of a linked reference to the Mega-Manual. | 38 | # Process a single, rouge occurrence of a linked reference to the Mega-Manual. |
39 | s/<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 | 39 | s@<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 | 40 | ||