You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Yoshiki Hayashi <yo...@xemacs.org> on 2001/02/28 12:01:30 UTC

[PATCH] 1.3 mkapidoc

cd httpd-docs-1.3/apidoc
./mkapidict -l0 -d api.list -o index.html -t api-dict.html -v

only creates HTML files listed in Routine Descriptions
section and doesn't create files like apidoc_apache_sfio.html.

This patch fixes the problem.  Is this subject to code
freeze of apache-1.3 and needs three +1?  Or can I just
commit it because it's part of documentation?

Index: mkapidict
===================================================================
RCS file: /home/cvspublic/httpd-docs-1.3/apidoc/mkapidict,v
retrieving revision 1.16
diff -u -r1.16 mkapidict
--- mkapidict	2000/09/18 01:58:02	1.16
+++ mkapidict	2001/02/28 10:55:52
@@ -207,7 +207,7 @@
 &list_items(@keys);
 &verbose(($#keys + 1) . " found.");
 &verbose("Dumping structures.");
-&dump_list('S', %Structure);
+&dump_list('S', @keys);
 
 print $ofh <<EOHT;
   <h2><a name="Cells">Global Data Cells</a></h2>
@@ -219,7 +219,7 @@
 &list_items(@keys);
 &verbose(($#keys + 1) . " found.");
 &verbose("Dumping data cells.");
-&dump_list('D', %Cell);
+&dump_list('D', @keys);
 
 print $ofh <<EOHT;
   <h2><a name="Constants">Constant Definitions</a></h2>
@@ -249,7 +249,7 @@
 &list_items(@keys);
 &verbose(($#keys + 1) . " found.");
 &verbose("Dumping constants.");
-&dump_list('C', %Constant);
+&dump_list('C', @keys);
 
 &verbose("Dumping epilogue.");
 print $ofh @Epilogue;


-- 
Yoshiki Hayashi

Re: [PATCH] 1.3 mkapidoc

Posted by Greg Stein <gs...@lyra.org>.
On Wed, Feb 28, 2001 at 08:01:30PM +0900, Yoshiki Hayashi wrote:
> cd httpd-docs-1.3/apidoc
> ./mkapidict -l0 -d api.list -o index.html -t api-dict.html -v
> 
> only creates HTML files listed in Routine Descriptions
> section and doesn't create files like apidoc_apache_sfio.html.
> 
> This patch fixes the problem.  Is this subject to code
> freeze of apache-1.3 and needs three +1?  Or can I just
> commit it because it's part of documentation?

Just go ahead and commit it. You're right: the restrictions only apply to
the server code. It doesn't apply to docs, supporting tools (e.g. htpasswd),
comments in files, or other bits. Only to changing semantics of the
operation of the server.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: [PATCH] 1.3 mkapidoc

Posted by Greg Stein <gs...@lyra.org>.
On Wed, Feb 28, 2001 at 08:01:30PM +0900, Yoshiki Hayashi wrote:
> cd httpd-docs-1.3/apidoc
> ./mkapidict -l0 -d api.list -o index.html -t api-dict.html -v
> 
> only creates HTML files listed in Routine Descriptions
> section and doesn't create files like apidoc_apache_sfio.html.
> 
> This patch fixes the problem.  Is this subject to code
> freeze of apache-1.3 and needs three +1?  Or can I just
> commit it because it's part of documentation?

Just go ahead and commit it. You're right: the restrictions only apply to
the server code. It doesn't apply to docs, supporting tools (e.g. htpasswd),
comments in files, or other bits. Only to changing semantics of the
operation of the server.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Re: [PATCH] 1.3 mkapidoc

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Yoshiki Hayashi wrote:
> 
> cd httpd-docs-1.3/apidoc
> ./mkapidict -l0 -d api.list -o index.html -t api-dict.html -v
> 
> only creates HTML files listed in Routine Descriptions
> section and doesn't create files like apidoc_apache_sfio.html.
> 
> This patch fixes the problem.  Is this subject to code
> freeze of apache-1.3 and needs three +1?  Or can I just
> commit it because it's part of documentation?

Commit it.. this is docco.
-- 
#ken    P-)}

Ken Coar                    <http://Golux.Com/coar/>
Apache Software Foundation  <http://www.apache.org/>
"Apache Server for Dummies" <http://Apache-Server.Com/>
"Apache Server Unleashed"   <http://ApacheUnleashed.Com/>

ApacheCon 2001!
Four tracks with over 70+ sessions. Free admission to exhibits
and special events - keynote presentations by John 'maddog' Hall
and David Brin. Special thanks to our Platinum Sponsors IBM and
Covalent, Gold Sponsor Thawte, and Silver Sponsor Compaq.  Attend
only Apache event designed and fully supported by the members of
the ASF. See more information and register at <http://ApacheCon.Com/>!