cvs: peardoc /peardoc2/en/authoring readme.txt

From: Date: Sat, 08 Feb 2003 17:58:44 +0000
Subject: cvs: peardoc /peardoc2/en/authoring readme.txt
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-373@lists.php.net to get a copy of this message
alexmerz Sat Feb 8 12:58:44 2003 EDT Modified files: /peardoc/peardoc2/en/authoring readme.txt Log: update to the current sturcture- Index: peardoc/peardoc2/en/authoring/readme.txt diff -u peardoc/peardoc2/en/authoring/readme.txt:1.1.1.1 peardoc/peardoc2/en/authoring/readme.txt:1.2 --- peardoc/peardoc2/en/authoring/readme.txt:1.1.1.1 Mon Sep 30 23:23:03 2002 +++ peardoc/peardoc2/en/authoring/readme.txt Sat Feb 8 12:58:44 2003 @@ -10,35 +10,52 @@ Organization of the package directory core/package/pecl - <categorie>/ (contains the packages descriptions of a + <category>/ (contains the packages descriptions of a categorie) - <categorie>.xml (contains a overview of the packages + <category>.xml (contains a overview of the packages docs of the categorie) Organization of the <categorie> directory -<categorie>/ +<category>/ <package>/ (contains all package related doc files) <package>.xml (contains a overview of the package related doc 'pages') Organization of the <package> directory <package> - <function>.xml (contains docs for a package function, - one <function>.xml per function) + <class> constants.xml (doc of the package related constants) example.xml (contains a bigger/complex example(s)) intro.xml (introduction to a package) (the last three files are optional) - (Sub classes of a package eg. DB_Result in DB have a own - directory in the package directory, see DB doc directory) + +Organisation of the <class> directory +<class> + <function>.xml (contains docs for a package function, + one <function>.xml per function) + Content of <function>.xml Synopsis (structure of a function) Description (what the function does) - Parameter (required and optional parameters, optional) - Returns (what is returned (without PEAR_Error), optional) - Throws (returned PEAR_Errors, optional) - Note (additional informations, optional) + Parameter (required and optional parameters) + Returns (what is returned (without PEAR_Error)) + Throws (returned PEAR_Errors) + Note (additional informations) See (links to related function or manual entries, optional) Example (a small function related example, optional) +----------------------------------------- +Information about the id-attribute + +An id-attribute *must* provide by each of this tags: +<chapter> +<sect> +<refentry> +<refsect1> + +structure notes: + +<refentry> for function.xml: package.<category>.<package>.<class>.<function> +<refsect1> for function.xml: package.<category>.<package>.<class>.<function>.<contentpart> +------------------------------------------ \ No newline at end of file

« previous php.pear.doc (#373) next »