Skip to content

Commit f9c8e7c

Browse files
committed
Merge branch 'jn/maint-doc-user-manual-html-doctype'
* jn/maint-doc-user-manual-html-doctype: docs: fix Makefile dependency for user manual Documentation: set a !DOCTYPE for user manual
2 parents 1998f4c + f2aff31 commit f9c8e7c

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ $(patsubst %,%.html,$(API_DOCS) technical/api-index): %.html : %.txt
279279
XSLT = docbook.xsl
280280
XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
281281

282-
user-manual.html: user-manual.xml
282+
user-manual.html: user-manual.xml $(XSLT)
283283
$(QUIET_XSLTPROC)$(RM) $@+ $@ && \
284284
xsltproc $(XSLTOPTS) -o $@+ $(XSLT) $< && \
285285
mv $@+ $@

Documentation/docbook.xsl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
version='1.0'>
33
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
4-
<xsl:output method="html" encoding="UTF-8" indent="no" />
4+
<xsl:output method="html"
5+
encoding="UTF-8" indent="no"
6+
doctype-public="-//W3C//DTD HTML 4.01//EN"
7+
doctype-system="http://www.w3.org/TR/html4/strict.dtd" />
58
</xsl:stylesheet>

0 commit comments

Comments
 (0)