summaryrefslogtreecommitdiff
path: root/poky/documentation/tools
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2020-11-18 19:42:21 +0300
committerAndrew Geissler <geissonator@yahoo.com>2020-11-20 16:38:24 +0300
commitf034379238f980a8c5ec4295288448eab2a3d015 (patch)
tree1787275509bc13436dbec1a548169ef5f8ae0538 /poky/documentation/tools
parentbc442de08ff2e45ae01cb74397ccf010ef9797af (diff)
downloadopenbmc-f034379238f980a8c5ec4295288448eab2a3d015.tar.xz
Revert "Revert "poky: subtree update:b23aa6b753..ad30a6d470""
This reverts commit 4873add6e11c1bd421c83cd08df589f1184aa673. A fix has been put up for openbmc/openbmc#3720 so we can bring this back now Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: If59020a5b502f70aa7149fbef4ad2f50824d1ce6
Diffstat (limited to 'poky/documentation/tools')
-rw-r--r--poky/documentation/tools/eclipse-help.sed21
-rw-r--r--poky/documentation/tools/mega-manual.sed39
-rwxr-xr-xpoky/documentation/tools/poky-docbook-to-pdf54
3 files changed, 0 insertions, 114 deletions
diff --git a/poky/documentation/tools/eclipse-help.sed b/poky/documentation/tools/eclipse-help.sed
deleted file mode 100644
index 9716ea42b..000000000
--- a/poky/documentation/tools/eclipse-help.sed
+++ /dev/null
@@ -1,21 +0,0 @@
-#
-# SPDX-License-Identifier: CC-BY-2.0-UK
-#
-# Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style)
-# For example:
-# "ulink" href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#faq"
-# -> "link" href="../poky-ref-manual/faq.html"
-s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*-[a-z]*)/[a-z]*-[a-z]*-[a-z]*.html#([^"]*)"/@"link" href="../1/2.html"@g
-
-# Processes all other manuals (<word>-<word> style)
-# For example:
-# "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html#faq"
-# -> "link" href="../kernel-manual/faq.html"
-s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*)/[a-z]*-[a-z]*.html#([^"]*)"@"link" href="../1/2.html"@g
-
-# Process cases where just an external manual is referenced without an id anchor
-# For example:
-# "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html
-# -> "link" href="../kernel-manual/index.html"
-s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*-[a-z]*)/[a-z]*-[a-z]*-[a-z]*.html"@"link" href="../1/index.html"@g
-s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*)/[a-z]*-[a-z]*.html"@"link" href="../1/index.html"@g
diff --git a/poky/documentation/tools/mega-manual.sed b/poky/documentation/tools/mega-manual.sed
deleted file mode 100644
index c525ab46a..000000000
--- a/poky/documentation/tools/mega-manual.sed
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# SPDX-License-Identifier: CC-BY-2.0-UK
-#
-# Processes bitbake-user-manual (<word>-<word>-<word> style).
-# This style is for manual three-word folders, which currently is only the BitBake User Manual.
-# We used to have the "yocto-project-qs" and "poky-ref-manual" folders but no longer do.
-# s@"ulink" href="http://www.yoctoproject.org/docs/3.1/[a-z]*-[a-z]*-[a-z]*/[a-z]*-[a-z]*-[a-z]*.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html#@"link" href="#@g
-
-# Processes all other manuals (<word>-<word> style).
-# This style is for manual folders that use two word, which is the standard now (e.g. "ref-manual").
-# Here is the one-liner:
-# s@"ulink" href="http://www.yoctoproject.org/docs/3.1/[a-z]*-[a-z]*/[a-z]*-[a-z]*.html#@"link" href="#@g
-
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/sdk-manual/sdk-manual.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/bsp-guide/bsp-guide.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/overview-manual/overview-manual.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/kernel-dev/kernel-dev.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/profile-manual/profile-manual.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#@"link" href="#@g
-s@"ulink" href="http://www.yoctoproject.org/docs/3.1/toaster-manual/toaster-manual.html#@"link" href="#@g
-
-# Process cases where just an external manual is referenced without an id anchor
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html" target="_top">Yocto Project Quick Build</a>@Yocto Project Quick Build@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html" target="_top">BitBake User Manual</a>@BitBake User Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html" target="_top">Yocto Project Development Tasks Manual</a>@Yocto Project Development Tasks Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/overview-manual/overview-manual.html" target="_top">Yocto Project Overview and Concepts Manual</a>@Yocto project Overview and Concepts Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/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
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/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
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/profile-manual/profile-manual.html" target="_top">Yocto Project Profiling and Tracing Manual</a>@Yocto Project Profiling and Tracing Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/kernel-dev/kernel-dev.html" target="_top">Yocto Project Linux Kernel Development Manual</a>@Yocto Project Linux Kernel Development Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html" target="_top">Yocto Project Reference Manual</a>@Yocto Project Reference Manual@g
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/toaster-manual/toaster-manual.html" target="_top">Toaster User Manual</a>@Toaster User Manual@g
-
-# Process a single, rouge occurrence of a linked reference to the Mega-Manual.
-s@<a class="ulink" href="http://www.yoctoproject.org/docs/3.1/mega-manual/mega-manual.html" target="_top">Yocto Project Mega-Manual</a>@Yocto Project Mega-Manual@g
-
diff --git a/poky/documentation/tools/poky-docbook-to-pdf b/poky/documentation/tools/poky-docbook-to-pdf
deleted file mode 100755
index b36e74b6b..000000000
--- a/poky/documentation/tools/poky-docbook-to-pdf
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# SPDX-License-Identifier: CC-BY-2.0-UK
-#
-
-if [ -z "$1" -o -z "$2" ]; then
- echo "usage: [-v] $0 <docbook file> <templatedir>"
- echo
- echo "*NOTE* you need xsltproc, fop and nwalsh docbook stylesheets"
- echo " installed for this to work!"
- echo
- exit 0
-fi
-
-FO=`echo $1 | sed s/.xml/.fo/` || exit 1
-PDF=`echo $1 | sed s/.xml/.pdf/` || exit 1
-TEMPLATEDIR=$2
-
-##
-# These URI should be rewritten by your distribution's xml catalog to
-# match your localy installed XSL stylesheets.
-XSL_BASE_URI="http://docbook.sourceforge.net/release/xsl/current"
-
-# Creates a temporary XSL stylesheet based on titlepage.xsl
-xsltproc -o /tmp/titlepage.xsl \
- --xinclude \
- $XSL_BASE_URI/template/titlepage.xsl \
- $TEMPLATEDIR/titlepage.templates.xml || exit 1
-
-# Creates the file needed for FOP
-xsltproc --xinclude \
- --stringparam hyphenate false \
- --stringparam formal.title.placement "figure after" \
- --stringparam ulink.show 1 \
- --stringparam body.font.master 9 \
- --stringparam title.font.master 11 \
- --stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
- --stringparam chapter.autolabel 1 \
- --stringparam appendix.autolabel A \
- --stringparam section.autolabel 1 \
- --stringparam section.label.includes.component.label 1 \
- --output $FO \
- $TEMPLATEDIR/poky-db-pdf.xsl \
- $1 || exit 1
-
-# Invokes the Java version of FOP. Uses the additional configuration file common/fop-config.xml
-fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
-
-rm -f $FO
-rm -f /tmp/titlepage.xsl
-
-echo
-echo " #### Success! $PDF ready. ####"
-echo