diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2020-10-05 16:30:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-06 13:56:17 +0100 |
commit | 43d07a285181e64c30d98d10ff93ef50391efe59 (patch) | |
tree | 78918fc94d55d44d35e1e3e61c7a6fccc28bca24 /documentation/tools | |
parent | 1fd9c4b2c0ae927df29f7a0d34c3e595bcf48e89 (diff) | |
download | poky-43d07a285181e64c30d98d10ff93ef50391efe59.tar.gz |
sphinx: remove DocBook files
The Yocto Project documentation was migrated to Sphinx. Let's remove
the deprecated DocBook files.
(From yocto-docs rev: 28fb0e63b2fbfd6426b00498bf2682bb53fdd862)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/tools')
-rw-r--r-- | documentation/tools/eclipse-help.sed | 21 | ||||
-rw-r--r-- | documentation/tools/mega-manual.sed | 39 | ||||
-rwxr-xr-x | documentation/tools/poky-docbook-to-pdf | 54 |
3 files changed, 0 insertions, 114 deletions
diff --git a/documentation/tools/eclipse-help.sed b/documentation/tools/eclipse-help.sed deleted file mode 100644 index 9716ea42bc..0000000000 --- a/documentation/tools/eclipse-help.sed +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: CC-BY-2.0-UK | ||
3 | # | ||
4 | # Process poky-ref-manual and yocto-project-qs manual (<word>-<word>-<word> style) | ||
5 | # For example: | ||
6 | # "ulink" href="http://www.yoctoproject.org/docs/1.3/poky-ref-manual/poky-ref-manual.html#faq" | ||
7 | # -> "link" href="../poky-ref-manual/faq.html" | ||
8 | 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 | ||
9 | |||
10 | # Processes all other manuals (<word>-<word> style) | ||
11 | # For example: | ||
12 | # "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html#faq" | ||
13 | # -> "link" href="../kernel-manual/faq.html" | ||
14 | s@"ulink" href="http://www.yoctoproject.org/docs/[^/]*/([a-z]*-[a-z]*)/[a-z]*-[a-z]*.html#([^"]*)"@"link" href="../1/2.html"@g | ||
15 | |||
16 | # Process cases where just an external manual is referenced without an id anchor | ||
17 | # For example: | ||
18 | # "ulink" href="http://www.yoctoproject.org/docs/1.3/kernel-manual/kernel-manual.html | ||
19 | # -> "link" href="../kernel-manual/index.html" | ||
20 | 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 | ||
21 | 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/documentation/tools/mega-manual.sed b/documentation/tools/mega-manual.sed deleted file mode 100644 index c525ab46a4..0000000000 --- a/documentation/tools/mega-manual.sed +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: CC-BY-2.0-UK | ||
3 | # | ||
4 | # Processes bitbake-user-manual (<word>-<word>-<word> style). | ||
5 | # This style is for manual three-word folders, which currently is only the BitBake User Manual. | ||
6 | # We used to have the "yocto-project-qs" and "poky-ref-manual" folders but no longer do. | ||
7 | # 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 | ||
8 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/bitbake-user-manual/bitbake-user-manual.html#@"link" href="#@g | ||
9 | |||
10 | # Processes all other manuals (<word>-<word> style). | ||
11 | # This style is for manual folders that use two word, which is the standard now (e.g. "ref-manual"). | ||
12 | # Here is the one-liner: | ||
13 | # s@"ulink" href="http://www.yoctoproject.org/docs/3.1/[a-z]*-[a-z]*/[a-z]*-[a-z]*.html#@"link" href="#@g | ||
14 | |||
15 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/sdk-manual/sdk-manual.html#@"link" href="#@g | ||
16 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/bsp-guide/bsp-guide.html#@"link" href="#@g | ||
17 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/dev-manual/dev-manual.html#@"link" href="#@g | ||
18 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/overview-manual/overview-manual.html#@"link" href="#@g | ||
19 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/brief-yoctoprojectqs/brief-yoctoprojectqs.html#@"link" href="#@g | ||
20 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/kernel-dev/kernel-dev.html#@"link" href="#@g | ||
21 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/profile-manual/profile-manual.html#@"link" href="#@g | ||
22 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/ref-manual/ref-manual.html#@"link" href="#@g | ||
23 | s@"ulink" href="http://www.yoctoproject.org/docs/3.1/toaster-manual/toaster-manual.html#@"link" href="#@g | ||
24 | |||
25 | # Process cases where just an external manual is referenced without an id anchor | ||
26 | 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 | ||
27 | 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 | ||
28 | 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 | ||
29 | 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 | ||
30 | 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 | ||
31 | 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 | ||
32 | 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 | ||
33 | 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 | ||
34 | 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 | ||
35 | 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 | ||
36 | |||
37 | # Process a single, rouge occurrence of a linked reference to the Mega-Manual. | ||
38 | 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 | ||
39 | |||
diff --git a/documentation/tools/poky-docbook-to-pdf b/documentation/tools/poky-docbook-to-pdf deleted file mode 100755 index b36e74b6be..0000000000 --- a/documentation/tools/poky-docbook-to-pdf +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # SPDX-License-Identifier: CC-BY-2.0-UK | ||
4 | # | ||
5 | |||
6 | if [ -z "$1" -o -z "$2" ]; then | ||
7 | echo "usage: [-v] $0 <docbook file> <templatedir>" | ||
8 | echo | ||
9 | echo "*NOTE* you need xsltproc, fop and nwalsh docbook stylesheets" | ||
10 | echo " installed for this to work!" | ||
11 | echo | ||
12 | exit 0 | ||
13 | fi | ||
14 | |||
15 | FO=`echo $1 | sed s/.xml/.fo/` || exit 1 | ||
16 | PDF=`echo $1 | sed s/.xml/.pdf/` || exit 1 | ||
17 | TEMPLATEDIR=$2 | ||
18 | |||
19 | ## | ||
20 | # These URI should be rewritten by your distribution's xml catalog to | ||
21 | # match your localy installed XSL stylesheets. | ||
22 | XSL_BASE_URI="http://docbook.sourceforge.net/release/xsl/current" | ||
23 | |||
24 | # Creates a temporary XSL stylesheet based on titlepage.xsl | ||
25 | xsltproc -o /tmp/titlepage.xsl \ | ||
26 | --xinclude \ | ||
27 | $XSL_BASE_URI/template/titlepage.xsl \ | ||
28 | $TEMPLATEDIR/titlepage.templates.xml || exit 1 | ||
29 | |||
30 | # Creates the file needed for FOP | ||
31 | xsltproc --xinclude \ | ||
32 | --stringparam hyphenate false \ | ||
33 | --stringparam formal.title.placement "figure after" \ | ||
34 | --stringparam ulink.show 1 \ | ||
35 | --stringparam body.font.master 9 \ | ||
36 | --stringparam title.font.master 11 \ | ||
37 | --stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \ | ||
38 | --stringparam chapter.autolabel 1 \ | ||
39 | --stringparam appendix.autolabel A \ | ||
40 | --stringparam section.autolabel 1 \ | ||
41 | --stringparam section.label.includes.component.label 1 \ | ||
42 | --output $FO \ | ||
43 | $TEMPLATEDIR/poky-db-pdf.xsl \ | ||
44 | $1 || exit 1 | ||
45 | |||
46 | # Invokes the Java version of FOP. Uses the additional configuration file common/fop-config.xml | ||
47 | fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1 | ||
48 | |||
49 | rm -f $FO | ||
50 | rm -f /tmp/titlepage.xsl | ||
51 | |||
52 | echo | ||
53 | echo " #### Success! $PDF ready. ####" | ||
54 | echo | ||