cvs: phd / README.RENDERER TODO.RENDERER
| From: | Hannes Magnusson | Date: | Sat, 29 Sep 2007 21:04:56 +0000 |
| Subject: | cvs: phd / README.RENDERER TODO.RENDERER | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-101@lists.php.net to get a copy of this message | ||
bjori Sat Sep 29 21:04:56 2007 UTC
Added files:
/phd README.RENDERER TODO.RENDERER
Log:
Add TODO and README
http://cvs.php.net/viewvc.cgi/phd/README.RENDERER?view=markup&rev=1.1
Index: phd/README.RENDERER
+++ phd/README.RENDERER
Rendering the documentations for the first time:
cd c:/
mkdir phpdotnet
cd phpdotnet
cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc
cd phpdoc
php configure.php
cd ..
cvs -d:pserver:cvsread@cvs.php.net/repository co phd
cd phd
# Open config.php in text editor and change the "xml_root" to point to your phpdoc
(c:/phpdotnet/phpdoc/) checkout and remove the die() line
php build.php
On non-windows operating systems you need to replace the "c:/" with
"/home/YOUR-USERNAME/"
Now edit the xml files as you wish in the phpdoc folder.
After doing all the changes you were going to do:
cd c:/phpdotnet/phpdoc
php configure.php
# If it shows any errors you must fix them before going further
cd ../phd
php build.php
On non-windows operating systems you need to replace the "c:/" with
"/home/YOUR-USERNAME/"
This will create
"php" directory containing the "phpweb" files
NOTE: You CANNOT view these files without a phpweb mirror running. See http://doc.php.net/wiki/phd/view#viewing_the_phpfolder
"html" direcotry containing the "downloadable chunked html" files
NOTE: Do NOT move these files onto your webserver. Just double click them and your browser will
open and show you the content
"bightml.html" file, which is the "downloadable bightml" file
-Hannes
http://cvs.php.net/viewvc.cgi/phd/TODO.RENDERER?view=markup&rev=1.1
Index: phd/TODO.RENDERER
+++ phd/TODO.RENDERER
TODO:
- Learn the alphabet
- Sort the elementmaps after purpose and then alphabetically
- Sort the methods like the elementmaps
- Move all PHP/PHP.net specific stuff into themes/php/
- Generate titles/text for various elements (like Docbook-XSL does)
- Implement generic theme
- Implement CHM format which should generate the CHM indexing files
- Implement "mktoc.php" caching using SQLite
- Look for ways to generate single pages (i.e
php build.php <ID>)
- Write more tests
- Implement method to generate markup for the default attributes
- Implement the remaining elements and attributes of the Docbook format
-Hannes