diff options
author | Joshua Slive <slive@apache.org> | 2002-03-09 22:42:54 +0000 |
---|---|---|
committer | Joshua Slive <slive@apache.org> | 2002-03-09 22:42:54 +0000 |
commit | 2a9502d927fd0923b9ca8d71f44db14c439dc196 (patch) | |
tree | c76aed3722c1e047769e9f9159d3f8232787e357 /docs/manual/style | |
parent | 964a10a90e9d42e8e8ce811aea22cf73ac602429 (diff) | |
download | httpd-2a9502d927fd0923b9ca8d71f44db14c439dc196.tar.gz |
First crack at the automatic directive index. Now the only thing that
needs to be done if a new module is added is to stick it in allmodules.xml.
The directives will then get included in the index.
The technique in the xsl stylesheet can surely be improved, and we can
also now do fancy stuff like having a "quick reference" which includes
syntax/etc. But this is a good start.
I haven't committed the html output of this yet, because there are still
a few modules yet to be converted to xml.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93822 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/style')
-rw-r--r-- | docs/manual/style/manual.xsl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/docs/manual/style/manual.xsl b/docs/manual/style/manual.xsl index a7a5a7e532..ef37629b36 100644 --- a/docs/manual/style/manual.xsl +++ b/docs/manual/style/manual.xsl @@ -9,6 +9,30 @@ <xsl:output method="html" encoding="iso-8859-1" indent="no"/> +<xsl:template match="directiveindex"> +<html> +<head><title><xsl:value-of select="title"/> - Apache HTTP Server</title> +<link rel="stylesheet" type="text/css" href="../style/manual.css" /> +</head> +<body> + <blockquote> + <div align="center"> + <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> + <h3>Apache HTTP Server Version 2.0</h3> + </div> + <h1 align="center"><xsl:value-of select="title"/></h1> +<xsl:apply-templates select="summary" /> +<ul> +<xsl:for-each select="document(modulelist/modulefile)/modulesynopsis/directivesynopsis"> +<xsl:sort select="name"/> +<li><a href="{/modulesynopsis/name}.html#{name}"><xsl:value-of select="name"/></a></li> +</xsl:for-each> +</ul> +</blockquote> +</body> +</html> +</xsl:template> + <!-- Process an entire document into an HTML page --> <xsl:template match="modulesynopsis"> <html> |