httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style manual.xsl
Date Sat, 09 Mar 2002 22:42:54 GMT
slive       02/03/09 14:42:54

  Modified:    docs/manual/style manual.xsl
  Added:       docs/manual/mod directives.xml allmodules.xml
  Log:
  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.
  
  Revision  Changes    Path
  1.1                  httpd-2.0/docs/manual/mod/directives.xml
  
  Index: directives.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE directiveindex [
      <!ENTITY allmodules SYSTEM "allmodules.xml">
  ]>
  
  <?xml-stylesheet type="text/xsl" href="../style/manual.xsl"?>
  <directiveindex>
  <title>Directive Index</title>
  <summary>
      <p>Each Apache directive available in the standard Apache
      distribution is listed here. They are described using a
      consistent format, and there is <a href="directive-dict.html"
      rel="Glossary">a dictionary</a> of the terms used in their
      descriptions available.</p>
  </summary>
  &allmodules;
  </directiveindex>
  
  
  1.1                  httpd-2.0/docs/manual/mod/allmodules.xml
  
  Index: allmodules.xml
  ===================================================================
  <modulelist>
  <modulefile>core.xml</modulefile>
  <modulefile>mod_access.xml</modulefile>
  <modulefile>mod_actions.xml</modulefile>
  <modulefile>mod_alias.xml</modulefile>
  <modulefile>mod_asis.xml</modulefile>
  <modulefile>mod_auth.xml</modulefile>
  <modulefile>mod_auth_anon.xml</modulefile>
  <modulefile>mod_auth_dbm.xml</modulefile>
  <modulefile>mod_auth_digest.xml</modulefile>
  <modulefile>mod_autoindex.xml</modulefile>
  <modulefile>mod_cern_meta.xml</modulefile>
  <modulefile>mod_cgi.xml</modulefile>
  <modulefile>mod_cgid.xml</modulefile>
  <modulefile>mod_charset_lite.xml</modulefile>
  <modulefile>mod_dav.xml</modulefile>
  <modulefile>mod_deflate.xml</modulefile>
  <modulefile>mod_dir.xml</modulefile>
  <modulefile>mod_env.xml</modulefile>
  <modulefile>mod_example.xml</modulefile>
  <modulefile>mod_ext_filter.xml</modulefile>
  <modulefile>mod_file_cache.xml</modulefile>
  <modulefile>mod_headers.xml</modulefile>
  <modulefile>mod_imap.xml</modulefile>
  <modulefile>mod_include.xml</modulefile>
  <modulefile>mod_info.xml</modulefile>
  <modulefile>mod_isapi.xml</modulefile>
  <modulefile>mod_log_config.xml</modulefile>
  <modulefile>mod_mime.xml</modulefile>
  <modulefile>mod_mime_magic.xml</modulefile>
  <modulefile>mod_negotiation.xml</modulefile>
  <modulefile>mod_proxy.xml</modulefile>
  <modulefile>mod_rewrite.xml</modulefile>
  <modulefile>mod_setenvif.xml</modulefile>
  <modulefile>mod_so.xml</modulefile>
  <modulefile>mod_speling.xml</modulefile>
  <modulefile>mod_status.xml</modulefile>
  <modulefile>mod_suexec.xml</modulefile>
  <modulefile>mod_unique_id.xml</modulefile>
  <modulefile>mod_userdir.xml</modulefile>
  <modulefile>mod_usertrack.xml</modulefile>
  <modulefile>mod_vhost_alias.xml</modulefile>
  <modulefile>mpm_common.xml</modulefile>
  <modulefile>mpm_winnt.xml</modulefile>
  <modulefile>prefork.xml</modulefile>
  </modulelist>
  
  
  1.14      +24 -0     httpd-2.0/docs/manual/style/manual.xsl
  
  Index: manual.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.xsl,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -d -b -u -r1.13 -r1.14
  --- manual.xsl	6 Mar 2002 17:06:41 -0000	1.13
  +++ manual.xsl	9 Mar 2002 22:42:54 -0000	1.14
  @@ -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>
  
  
  

Mime
View raw message