cvs: peardoc / global.ent /en/guide/developers documentation.xml
| From: | Martin Jansen | Date: | Fri, 09 Apr 2004 21:28:14 +0000 |
| Subject: | cvs: peardoc / global.ent /en/guide/developers documentation.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3222@lists.php.net to get a copy of this message | ||
mj Fri Apr 9 17:28:14 2004 EDT
Modified files:
/peardoc global.ent
/peardoc/en/guide/developers documentation.xml
Log:
* Adding good examples for documentations.
# Should we add more examples in the list?
# Do you guys have other suggestions for the documentation chapter?
http://cvs.php.net/diff.php/peardoc/global.ent?r1=1.30&r2=1.31&ty=u
Index: peardoc/global.ent
diff -u peardoc/global.ent:1.30 peardoc/global.ent:1.31
--- peardoc/global.ent:1.30 Fri Apr 9 16:57:49 2004
+++ peardoc/global.ent Fri Apr 9 17:28:14 2004
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.30 2004/04/09 20:57:49 mj Exp $
+ $Id: global.ent,v 1.31 2004/04/09 21:28:14 mj Exp $
Contains global "macros" for all the XML documents.
@@ -57,6 +57,7 @@
<!ENTITY url.php.bugs.howto 'http://bugs.php.net/how-to-report.php'>
<!ENTITY url.phpform 'http://sourceforge.net/projects/phpform-ext/'>
<!ENTITY url.pear 'http://pear.php.net/'>
+<!ENTITY url.pear.cvs.peardoc 'http://cvs.php.net/cvs.php/peardoc/'>
<!ENTITY url.pear.manual 'http://pear.php.net/manual/'>
<!ENTITY url.pear.support 'http://pear.php.net/support.php'>
<!ENTITY url.pear.package 'http://pear.php.net/package/'>
http://cvs.php.net/diff.php/peardoc/en/guide/developers/documentation.xml?r1=1.5&r2=1.6&ty=u
Index: peardoc/en/guide/developers/documentation.xml
diff -u peardoc/en/guide/developers/documentation.xml:1.5
peardoc/en/guide/developers/documentation.xml:1.6
--- peardoc/en/guide/developers/documentation.xml:1.5 Fri Apr 9 16:57:17 2004
+++ peardoc/en/guide/developers/documentation.xml Fri Apr 9 17:28:14 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!--
WORK IN PROGRESS, THERE IS PROBABLY LITTLE POINT IN TRANSLATING
THIS DOCUMENT YET.
@@ -104,6 +104,84 @@
mailinglist</ulink>.
</para>
</sect2>
+
+ <sect2>
+ <title>Writing documentation</title>
+
+ <para>
+ Instead of a long and boring description for writing documentation
+ using Docbook, we would like to point you to a bunch of
+ <quote>reference documentations</quote>, from which you should be
+ able to learn quickly:
+
+ <itemizedlist>
+ <listitem>
+ <simpara>
+ <ulink
+ url="&url.pear.cvs.peardoc;en/package/http/http-request/">HTTP
+ Request</ulink>
+ </simpara>
+ <simpara>
+ The documentation for <classname>HTTP_Request</classname>, which
+ is a relatively small package, only consists of a bunch of
+ end-user documentation, which describes all of the basic
+ features of the package. Each feature description includes at
+ least one example. For small packages with only a handful of
+ methods this documentation type is absolutely enough.
+ </simpara>
+ </listitem>
+ <listitem>
+ <simpara>
+ <ulink
+ url="&url.pear.cvs.peardoc;en/package/xml/xml-beautifier/">XML
+ Beautifier</ulink>
+ </simpara>
+ <simpara>
+ <classname>XML Beautifier</classname> is a package that is also
+ relatively compact, but which supports different configuration
+ options. These options are described in the documentation
+ Additionally the documentation gives usage examples and (in
+ contradiction to <classname>HTTP_Request</classname>) also
+ includes API documentation for its methods.
+ </simpara>
+ </listitem>
+
+ <listitem>
+ <simpara>
+ <ulink
+
url="&url.pear.cvs.peardoc;en/package/webservices/xml-rpc/">XML_RPC</ulink>
+ </simpara>
+ <simpara>
+ The <classname>XML_RPC</classname> is one of the bigger packages
+ in PEAR and thus the documentation (while not being perfect) is
+ more substantial as well. Apart from providing usage examples,
+ it also includes links to support resources and describes the
+ API of the package in detail.
+ </simpara>
+ </listitem>
+ </itemizedlist>
+ </para>
+ <para>
+ In addition to the examples above, you will find much more
+ documenation examples by browsing the <filename>peardoc</filename>
+ directory, which contains your local version of the CVS tree. You
+ can also browse the CVS module using the <ulink
+ url="&url.pear.cvs.peardoc;">web interface</ulink>.
+ </para>
+ </sect2>
+
+ <sect2>
+ <title>Questions?</title>
+
+ <simpara>
+ We are well aware that we cannot cover all questions about writing
+ Docbook documentation in this chapter. If you have more questions
+ or problems, do not hesitate to get in touch with the documentation
+ team at <ulink
+ url="mailto:&email.pear.doc;">&email.pear.doc;</ulink>.
+ </simpara>
+ </sect2>
+
</sect1>
</chapter>