doc: Fix Unicode issues with the manual

docbook2html generates HTML4 documents and can't handle utf-8 input. It is quite
outdated. Switch to using stylesheets from docbook-xsl package instead.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
[sunil@medhas.org Remove intermediary file docbook.css]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati 2019-10-11 21:37:49 +05:30 committed by James Valleroy
parent 853c056018
commit 46b587196f
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 4 additions and 2 deletions

3
debian/control vendored
View File

@ -14,7 +14,7 @@ Build-Depends:
debhelper-compat (= 12),
dblatex,
dh-python,
docbook-utils,
docbook-xsl,
e2fsprogs,
gir1.2-nm-1.0,
libjs-bootstrap,
@ -43,6 +43,7 @@ Build-Depends:
python3-setuptools-git,
python3-yaml,
xmlto,
xsltproc
Standards-Version: 4.4.1
Homepage: https://salsa.debian.org/freedombox-team/plinth
Vcs-Git: https://salsa.debian.org/freedombox-team/plinth.git

View File

@ -77,7 +77,8 @@ freedombox-manual.xml: freedombox-manual.raw.xml fixes.xslt
./post-processor fix-wiki-urls $@
%.html: %.xml
docbook2html --nochunks $<
xsltproc --output $@ /usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml5/docbook.xsl $<
rm -f $(dir $@)docbook.css
%.1: %.xml
xmlto man $<