summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-26 22:23:47 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-04-26 22:23:47 -0500
commitaa975b4728c050e00034b579afd137a49f0642bf (patch)
tree87893107f2ebf0080c44c255f012e11855e619f0
parentefc1f603330f0c06a37aa64a194785cad44247c5 (diff)
downloaddocs-aa975b4728c050e00034b579afd137a49f0642bf.tar.gz
docs-aa975b4728c050e00034b579afd137a49f0642bf.tar.bz2
docs-aa975b4728c050e00034b579afd137a49f0642bf.tar.xz
docs-aa975b4728c050e00034b579afd137a49f0642bf.zip
Add Porting Guide to Makefile, and fix XML issues
-rw-r--r--Makefile14
-rw-r--r--src/porting/3_native.xml1
-rw-r--r--src/porting/4_submit.xml1
-rw-r--r--src/porting/5_help.xml1
-rw-r--r--src/porting/portguide.xml2
-rw-r--r--src/pretty.css22
6 files changed, 39 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 09ff77c..2edb1a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
.POSIX:
all: out/html/devel/index.html out/text/develguide.txt \
- out/html/install/index.html out/text/installguide.txt
+ out/html/install/index.html out/text/installguide.txt \
+ out/html/porting/index.html out/text/portguide.txt
out/text/develguide.txt: src/devel/*.xml
@mkdir -p out/text
@@ -25,6 +26,17 @@ out/html/install/index.html: src/install/*.xml src/pretty.css
@xmlto html -m master.xsl -o out/html/install src/install/installguide.xml
@cp src/pretty.css out/html/install/
+out/text/portguide.txt: src/porting/*.xml
+ @mkdir -p out/text
+ @printf 'Porting Guide: Generating text...\n'
+ @xmlto txt -o out/text src/porting/portguide.xml
+
+out/html/porting/index.html: src/porting/*.xml src/pretty.css
+ @mkdir -p out/html/porting
+ @printf 'Porting Guide: Generating HTML...\n'
+ @xmlto html -m master.xsl -o out/html/porting src/porting/portguide.xml
+ @cp src/pretty.css out/html/porting/
+
install:
@mkdir -p "${DESTDIR}"/usr/share/doc/adelie-handbook/
@cp -r out/* "${DESTDIR}"/usr/share/doc/adelie-handbook/
diff --git a/src/porting/3_native.xml b/src/porting/3_native.xml
index 6ca6fb9..9fed5bc 100644
--- a/src/porting/3_native.xml
+++ b/src/porting/3_native.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<chapter label="3" id="native">
<title>Native Hardware Phase</title>
+ <para></para>
</chapter>
diff --git a/src/porting/4_submit.xml b/src/porting/4_submit.xml
index 8ce3815..2376aba 100644
--- a/src/porting/4_submit.xml
+++ b/src/porting/4_submit.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<chapter label="4" id="submit">
<title>Submitting Your Port to Adélie Linux</title>
+ <para></para>
</chapter>
diff --git a/src/porting/5_help.xml b/src/porting/5_help.xml
index 899bb73..29552fd 100644
--- a/src/porting/5_help.xml
+++ b/src/porting/5_help.xml
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<chapter label="5" id="help">
<title>If You Need Help</title>
+ <para></para>
</chapter>
diff --git a/src/porting/portguide.xml b/src/porting/portguide.xml
index 8bbbb1d..255c411 100644
--- a/src/porting/portguide.xml
+++ b/src/porting/portguide.xml
@@ -18,7 +18,7 @@
<para>A copy of this license is included with the source of the documentation.
It is also available on the Web on the <ulink url="https://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Web site</ulink>.</para>
</legalnotice>
- <abstract>This guide details how to port the Adélie Linux distribution to a new computer system.</abstract>
+ <abstract><para>This guide details how to port the Adélie Linux distribution to a new computer system.</para></abstract>
</bookinfo>
<preface>
<title>Preface</title>
diff --git a/src/pretty.css b/src/pretty.css
index 95b4cd9..0431ade 100644
--- a/src/pretty.css
+++ b/src/pretty.css
@@ -1,3 +1,25 @@
body {
font-family: 'Liberation Sans',sans-serif;
}
+
+.command {
+ font-family: 'Liberation Mono',monospace;
+ font-size: 14px;
+}
+
+/* normalise size with command */
+code {
+ font-size: 14px;
+}
+
+.userinput {
+ font-style: italic;
+}
+
+code.prompt {
+ color: green;
+}
+
+em.parameter {
+ font-style: normal;
+}