Skip to content

Commit b33be8a

Browse files
committed
Switch back to HTML output for API documentation
1 parent 0e49f88 commit b33be8a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

doc/devhelp/devhelp2.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<xsl:variable name="prev" select="string(preceding-sibling::file[position()=1]/@name)"/>
3434
<xsl:variable name="next" select="string(following-sibling::file[position()=1]/@name)"/>
3535
<sub name="{@name}" link="libxml2-{@name}.html"/>
36-
<xsl:document xmlns="" href="libxml2-{@name}.html" method="xml" indent="yes" encoding="UTF-8">
36+
<xsl:document xmlns="" href="libxml2-{@name}.html" method="html" indent="yes" encoding="UTF-8">
3737
<html>
3838
<head>
3939
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

doc/devhelp/html.xsl

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
xmlns:str="http://exslt.org/strings"
55
extension-element-prefixes="exsl str"
66
exclude-result-prefixes="exsl str">
7-
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
8-
97
<!-- This is convoluted but needed to force the current document to
108
be the API one and not the result tree from the tokenize() result,
119
because the keys are only defined on the main document -->
@@ -497,7 +495,7 @@
497495
-->
498496
<xsl:template name="generate_general">
499497
<xsl:variable name="next" select="string(/api/files/file[position()=1]/@name)"/>
500-
<xsl:document xmlns="" href="general.html" method="xml" indent="yes" encoding="UTF-8">
498+
<xsl:document xmlns="" href="general.html" method="html" indent="yes" encoding="UTF-8">
501499
<html>
502500
<head>
503501
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
@@ -537,7 +535,7 @@
537535
538536
-->
539537
<xsl:template name="generate_index">
540-
<xsl:document xmlns="" href="index.html" method="xml" indent="yes" encoding="UTF-8">
538+
<xsl:document xmlns="" href="index.html" method="html" indent="yes" encoding="UTF-8">
541539
<html>
542540
<head>
543541
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

0 commit comments

Comments
 (0)