From 8536197772f04baeaf019b206e0041394a196c94 Mon Sep 17 00:00:00 2001 From: Michal Nowikowski Date: Thu, 6 Jun 2019 10:35:30 +0200 Subject: [PATCH] [#657,!368,] fixed encoding in generated kea guide in html format --- doc/guide/Makefile.am | 8 ++++---- doc/guide/kea-docbook.xsl | 12 ++++++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 doc/guide/kea-docbook.xsl diff --git a/doc/guide/Makefile.am b/doc/guide/Makefile.am index 948fc9e58b..d49686c001 100644 --- a/doc/guide/Makefile.am +++ b/doc/guide/Makefile.am @@ -12,7 +12,7 @@ DOCBOOK += hooks-ha.xml hooks-host-cache.xml hooks-lease-cmds.xml hooks-radius.x DOCBOOK += hooks-stat-cmds.xml lfc.xml stats.xml ctrl-channel.xml classify.xml shell.xml DOCBOOK += agent.xml netconf.xml api.xml congestion-handling.xml hammer.xml -EXTRA_DIST = $(DOCBOOK) +EXTRA_DIST = $(DOCBOOK) kea-docbook.xsl DISTCLEANFILES = $(HTMLDOCS) $(DOCS) kea-messages.xml @@ -30,7 +30,7 @@ kea-guide.html: $(DOCBOOK) --stringparam section.autolabel 1 \ --stringparam section.label.includes.component.label 1 \ --stringparam html.stylesheet kea-guide.css \ - http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ + $(srcdir)/kea-docbook.xsl \ $(srcdir)/kea-guide.xml kea-guide.txt: kea-guide.html @@ -42,8 +42,8 @@ kea-messages.html: kea-messages.xml -o $@ \ --stringparam generate.toc "book toc" \ --stringparam html.stylesheet kea-guide.css \ - http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl \ - kea-messages.xml + $(srcdir)/kea-docbook.xsl \ + $(srcdir)/kea-messages.xml else diff --git a/doc/guide/kea-docbook.xsl b/doc/guide/kea-docbook.xsl new file mode 100644 index 0000000000..af61b7eced --- /dev/null +++ b/doc/guide/kea-docbook.xsl @@ -0,0 +1,12 @@ + + + + + + + + + -- 2.47.2