diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2012-08-27 07:16:08 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:55:01 +0100 |
commit | e4bb6b7be871b2a205e5a42dc9c9b1a340c9c0b5 (patch) | |
tree | 9916682dbb38472d16eddbde349a747755cfae46 /documentation/tools | |
parent | 0278e3b76076d524761fc2afc82c0cbba498ec55 (diff) | |
download | poky-e4bb6b7be871b2a205e5a42dc9c9b1a340c9c0b5.tar.gz |
documentation/tools/mega-manual.sed: Processes external links in mega-manual
Added this file to the tools directory. It is used from the Makefile
when making the mega-manual. The file processes all the appropriate
<ulink> tags so that they are converted to <link> tags and the user
is not vectored off to an external HTML file.
(From yocto-docs rev: da2ad62a160c22f785e8237439494716e4c023cd)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/tools')
-rw-r--r-- | documentation/tools/mega-manual.sed | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/documentation/tools/mega-manual.sed b/documentation/tools/mega-manual.sed new file mode 100644 index 0000000000..d0e255e5b0 --- /dev/null +++ b/documentation/tools/mega-manual.sed | |||
@@ -0,0 +1,14 @@ | |||
1 | # Processes poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style) | ||
2 | s/\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/[a-z]*-[a-z]*-[a-z]*\/[a-z]*-[a-z]*-[a-z]*.html#/\"link\" href=\"#/g | ||
3 | |||
4 | # Processes all other manuals (<word>-<word> style) | ||
5 | s/\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/[a-z]*-[a-z]*\/[a-z]*-[a-z]*.html#/\"link\" href=\"#/g | ||
6 | |||
7 | # Process cases where just an external manual is referenced without an id anchor | ||
8 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/yocto-project-qs\/yocto-project-qs.html\" target=\"_top\">Yocto Project Quick Start<\/a>/Yocto Project Quick Start/g | ||
9 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/dev-manual\/dev-manual.html\" target=\"_top\">Yocto Project Development Manual<\/a>/Yocto Project Development Manual/g | ||
10 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/adt-manual\/adt-manual.html\" target=\"_top\">Yocto Project Application Developer's Guide<\/a>/Yocto Project Application Developer's Guide/g | ||
11 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/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 | ||
12 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/kernel-manual\/kernel-manual.html\" target=\"_top\">Yocto Project Kernel Architecture and Use Manual<\/a>/Yocto Project Kernel Architecture and Use Manual/g | ||
13 | s/<a class=\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/poky-ref-manual\/poky-ref-manual.html\" target=\"_top\">Yocto Project Reference Manual<\/a>/Yocto Project Reference Manual/g | ||
14 | |||