Browse files

Documentation: set a !DOCTYPE for user manual

asciidoc already takes care of including a doctype for most of the
HTML documentation, but the user manual which is processed with
docbook-xsl directly lacks one (at least with Debian docbook-xsl
1.75.2+dfsg-5).  This makes it harder to automatically validate the

Reported-by: 積丹尼 <>
Signed-off-by: Jonathan Nieder <>
Signed-off-by: Junio C Hamano <>
  • Loading branch information...
1 parent 8bd9fd5 commit 4ab18264e06aa4ad6d9793519828950234caf15d @jrn jrn committed with gitster Aug 20, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 Documentation/docbook.xsl
@@ -1,5 +1,8 @@
<xsl:stylesheet xmlns:xsl=""
<xsl:import href=""/>
- <xsl:output method="html" encoding="UTF-8" indent="no" />
+ <xsl:output method="html"
+ encoding="UTF-8" indent="no"
+ doctype-public="-//W3C//DTD HTML 4.01//EN"
+ doctype-system="" />

0 comments on commit 4ab1826

Please sign in to comment.