From e4bb6b7be871b2a205e5a42dc9c9b1a340c9c0b5 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 27 Aug 2012 07:16:08 -0700 Subject: 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 tags so that they are converted to tags and the user is not vectored off to an external HTML file. (From yocto-docs rev: da2ad62a160c22f785e8237439494716e4c023cd) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/tools/mega-manual.sed | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 documentation/tools/mega-manual.sed (limited to 'documentation/tools/mega-manual.sed') 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 @@ +# Processes poky-ref-manual and yocto-project-qs manual (-- style) +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 + +# Processes all other manuals (- style) +s/\"ulink\" href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/[a-z]*-[a-z]*\/[a-z]*-[a-z]*.html#/\"link\" href=\"#/g + +# Process cases where just an external manual is referenced without an id anchor +s/Yocto Project Quick Start<\/a>/Yocto Project Quick Start/g +s/Yocto Project Development Manual<\/a>/Yocto Project Development Manual/g +s/Yocto Project Application Developer's Guide<\/a>/Yocto Project Application Developer's Guide/g +s/Yocto Project Board Support Package (BSP) Developer's Guide<\/a>/Yocto Project Board Support Package (BSP) Developer's Guide/g +s/Yocto Project Kernel Architecture and Use Manual<\/a>/Yocto Project Kernel Architecture and Use Manual/g +s/Yocto Project Reference Manual<\/a>/Yocto Project Reference Manual/g + -- cgit v1.2.3-54-g00ecf