Skip to content
Snippets Groups Projects
Commit deacdf7bb0dc authored by Nick Wellnhofer's avatar Nick Wellnhofer
Browse files

Switch back to HTML output for API documentation

parent 65b1500eef0b
Branches
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<xsl:variable name="prev" select="string(preceding-sibling::file[position()=1]/@name)"/> <xsl:variable name="prev" select="string(preceding-sibling::file[position()=1]/@name)"/>
<xsl:variable name="next" select="string(following-sibling::file[position()=1]/@name)"/> <xsl:variable name="next" select="string(following-sibling::file[position()=1]/@name)"/>
<sub name="{@name}" link="libxml2-{@name}.html"/> <sub name="{@name}" link="libxml2-{@name}.html"/>
<xsl:document xmlns="" href="libxml2-{@name}.html" method="xml" indent="yes" encoding="UTF-8"> <xsl:document xmlns="" href="libxml2-{@name}.html" method="html" indent="yes" encoding="UTF-8">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
......
...@@ -4,8 +4,6 @@ ...@@ -4,8 +4,6 @@
xmlns:str="http://exslt.org/strings" xmlns:str="http://exslt.org/strings"
extension-element-prefixes="exsl str" extension-element-prefixes="exsl str"
exclude-result-prefixes="exsl str"> exclude-result-prefixes="exsl str">
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<!-- This is convoluted but needed to force the current document to <!-- This is convoluted but needed to force the current document to
be the API one and not the result tree from the tokenize() result, be the API one and not the result tree from the tokenize() result,
because the keys are only defined on the main document --> because the keys are only defined on the main document -->
...@@ -497,7 +495,7 @@ ...@@ -497,7 +495,7 @@
--> -->
<xsl:template name="generate_general"> <xsl:template name="generate_general">
<xsl:variable name="next" select="string(/api/files/file[position()=1]/@name)"/> <xsl:variable name="next" select="string(/api/files/file[position()=1]/@name)"/>
<xsl:document xmlns="" href="general.html" method="xml" indent="yes" encoding="UTF-8"> <xsl:document xmlns="" href="general.html" method="html" indent="yes" encoding="UTF-8">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
...@@ -537,7 +535,7 @@ ...@@ -537,7 +535,7 @@
--> -->
<xsl:template name="generate_index"> <xsl:template name="generate_index">
<xsl:document xmlns="" href="index.html" method="xml" indent="yes" encoding="UTF-8"> <xsl:document xmlns="" href="index.html" method="html" indent="yes" encoding="UTF-8">
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment