aboutsummaryrefslogtreecommitdiff
path: root/docs/xslt
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2011-10-09 06:49:54 +0000
committerRuslan Ermilov <ru@nginx.com>2011-10-09 06:49:54 +0000
commitc94b7e3d94cc260e64360613de6dc45da8236240 (patch)
tree034d8b1ca3ea2f8c1b70dac4222cc1315b533a3c /docs/xslt
parent94b5460c7002ff84cf675977c9b9f4228276ed6b (diff)
downloadnginx-c94b7e3d94cc260e64360613de6dc45da8236240.tar.gz
nginx-c94b7e3d94cc260e64360613de6dc45da8236240.zip
The reference documentation is moving elsewhere.
Diffstat (limited to 'docs/xslt')
-rw-r--r--docs/xslt/content.xslt199
-rw-r--r--docs/xslt/directive.xslt102
-rw-r--r--docs/xslt/module.xslt42
3 files changed, 0 insertions, 343 deletions
diff --git a/docs/xslt/content.xslt b/docs/xslt/content.xslt
deleted file mode 100644
index e6e9da669..000000000
--- a/docs/xslt/content.xslt
+++ /dev/null
@@ -1,199 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <xsl:template match="section[@id and @name]">
-
- <a name="{@id}"/>
- <center>
- <h4>
- <xsl:value-of select="@name"/>
- </h4>
- </center>
-
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="section[not(@id) and @name]">
-
- <center>
- <h4>
- <xsl:value-of select="@name"/>
- </h4>
- </center>
-
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="section[not(@id) and not(@name)]">
- <xsl:apply-templates/>
- </xsl:template>
-
- <xsl:template match="para">
- <p>
- <xsl:apply-templates/>
- </p>
- </xsl:template>
-
- <xsl:template match="c-def">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="c-func">
- <code>
- <xsl:apply-templates/>
- <xsl:text>()</xsl:text>
- </code>
- </xsl:template>
-
- <xsl:template match="code">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="command">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="dq">
-
- <xsl:text disable-output-escaping="yes">&amp;ldquo;</xsl:text>
-
- <xsl:apply-templates/>
-
- <xsl:text disable-output-escaping="yes">&amp;rdquo;</xsl:text>
- </xsl:template>
-
- <xsl:template match="example">
- <blockquote>
- <pre>
- <xsl:apply-templates/>
- </pre>
- </blockquote>
- </xsl:template>
-
- <xsl:template match="emphasis">
- <strong>
- <xsl:apply-templates/>
- </strong>
- </xsl:template>
-
- <xsl:template match="header">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="http-status">
-
- <xsl:value-of select="@code"/>
- <xsl:text> (</xsl:text>
- <xsl:value-of select="@text"/>
- <xsl:text>)</xsl:text>
- </xsl:template>
-
- <xsl:template match="link[@url]">
- <a href="{@url}">
- <xsl:apply-templates/>
- </a>
- </xsl:template>
-
- <xsl:template match="link[@id and not(@doc)]">
- <a href="#{@id}">
- <xsl:apply-templates/>
- </a>
- </xsl:template>
-
- <xsl:template match="link[@doc and not(@id)]">
-
- <a href="{substring-before(@doc, '.xml')}.html">
- <xsl:apply-templates/>
- </a>
- </xsl:template>
-
- <xsl:template match="link[@id and @doc]">
-
- <a href="{substring-before(@doc, '.xml')}.html#{@id}">
- <xsl:apply-templates/>
- </a>
- </xsl:template>
-
- <xsl:template match="link">
- <u>
- <xsl:apply-templates/>
- </u>
- </xsl:template>
-
- <xsl:template match="list[@type='bullet']">
- <ul>
- <xsl:apply-templates/>
- </ul>
- </xsl:template>
-
- <xsl:template match="list[@type='enum']">
- <ol>
- <xsl:apply-templates/>
- </ol>
- </xsl:template>
-
- <xsl:template match="listitem">
- <li>
- <xsl:apply-templates/>
- </li>
- </xsl:template>
-
- <xsl:template match="list[@type='tag']">
- <dl compact="">
- <xsl:apply-templates/>
- </dl>
- </xsl:template>
-
- <xsl:template match="tag-name">
- <dt>
- <xsl:apply-templates/>
- </dt>
- </xsl:template>
-
- <xsl:template match="tag-desc">
- <dd>
- <xsl:apply-templates/>
- </dd>
- </xsl:template>
-
- <xsl:template match="pathname">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="argument">
- <code>
- <i>
- <xsl:apply-templates/>
- </i>
- </code>
- </xsl:template>
-
- <xsl:template match="parameter">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="value">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
- <xsl:template match="var">
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/xslt/directive.xslt b/docs/xslt/directive.xslt
deleted file mode 100644
index 0bff2f49c..000000000
--- a/docs/xslt/directive.xslt
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <xsl:template match="directive">
-
- <hr/>
-
- <a name="{@name}"/>
- <!-- <center><h4><xsl:value-of select="@name"/> </h4></center> -->
-
- <xsl:apply-templates select="syntax"/>
-
- <xsl:apply-templates select="default"/>
-
- <xsl:apply-templates select="context"/>
-
- <xsl:if test="(@appeared-in)">
-
- <strong>appeared in version</strong>:
- <xsl:value-of select="@appeared-in"/>
- </xsl:if>
-
- <xsl:apply-templates select="para"/>
- </xsl:template>
-
- <xsl:template match="syntax">
- <xsl:choose>
-
- <xsl:when test="position() = 1">
-
- <strong>syntax</strong>:
- </xsl:when>
-
- <xsl:otherwise>
-
- <code>       </code>
- </xsl:otherwise>
- </xsl:choose>
-
- <code>
-
- <xsl:apply-templates/>
- </code>
- <br/>
- </xsl:template>
-
- <xsl:template match="default">
-
- <strong>default</strong>:
- <xsl:choose>
-
- <xsl:when test="count(text()) = 0">
-
- <strong>none</strong>
- </xsl:when>
-
- <xsl:otherwise>
-
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:otherwise>
- </xsl:choose>
-
- <br/>
- </xsl:template>
-
- <xsl:template match="context">
-
- <xsl:if test="position() = 1">
-
- <strong>context</strong>:
- </xsl:if>
- <xsl:choose>
-
- <xsl:when test="count(text()) = 0">
-
- <strong>any</strong>
- </xsl:when>
-
- <xsl:otherwise>
-
- <code>
- <xsl:apply-templates/>
- </code>
- </xsl:otherwise>
- </xsl:choose>
- <xsl:choose>
-
- <xsl:when test="position() != last()">
-
- <xsl:text>, </xsl:text>
- </xsl:when>
-
- <xsl:otherwise>
-
- <br/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
-
-</xsl:stylesheet>
diff --git a/docs/xslt/module.xslt b/docs/xslt/module.xslt
deleted file mode 100644
index ca29948f6..000000000
--- a/docs/xslt/module.xslt
+++ /dev/null
@@ -1,42 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-
- <xsl:output indent="no" encoding="utf-8" method="html"/>
-
- <xsl:strip-space elements="*"/>
-
- <xsl:param select="'../xml'" name="XML"/>
-
- <xsl:variable select="/module/@id" name="ID"/>
-
- <xsl:include href="directive.xslt"/>
-
- <xsl:include href="content.xslt"/>
-
- <xsl:template match="/module">
-
- <html>
- <head>
-
- <title>
- <xsl:value-of select="@name"/>
- </title>
-
- </head>
-
- <body>
-
- <center>
- <h3>
- <xsl:value-of select="@name"/>
- </h3>
- </center>
-
- <xsl:apply-templates/>
-
- </body>
-
- </html>
- </xsl:template>
-
-</xsl:stylesheet>