Re: Questions before first update of the manual.

From: Date: Thu, 09 Nov 2000 22:09:13 +0000
Subject: Re: Questions before first update of the manual.
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969332852@lists.php.net to get a copy of this message
Zak Greant wrote: > I have been running across errors and omissions in the manual and would > like to start fixing them. Before I started updating willy-nilly, I thought > that I should see if anyone had any problems with this. Most of the problems are pretty, well, public.... If you have a good, fast, machine, it's recommended that you edit locally, recompile the manual to test, and _then_ commit your changes. This is obviously much more important for major section changes than single typos. > Also, are there any particular hazards or gotchas involved with working on > the manuals that I should know about? Some general notes: 1. Watch your brackets. (> <). These can break a build. 2. It's XML, so you have have to _CLOSE_ tags, unlike HTML, where you can open tags and just leave them hanging. 3. Before making updates, check out the source. It's not uncommon to find old bugs and errors and proto's noted that no longer apply. 4. Try to keep your edits version-ambiguous, unless a specific change has been made that should be documented. 5. It's an international manual, so use examples and phrasing that can apply to the translated versions. 6. The translators seem to prefer working in batches, so don't be too surprised if an edit takes a while to update through all the lanugages. 7. People who use tabs to indent are frowned upon. And then shot. Don't use them. :-) 8. Indent the XML, 1 space seems standard at this point. This doesn't appear to be a required width, but it's the one most frequently seen. 9. Keep your character widths low. About 80 across is good. Some editors are literally working on 14.4 technology, so keep your mind in a 800x600 formatting land. 10. If you use TkCVS, be very, very, very, careful. In general, try to get very familiar with CVS commands before your first commit. 11. Bookmarks: http://snaps.php.net/~rasmus/status.php http://www.zugeschaut-und-mitgebaut.de/php/statistics.html http://zend.com/phpfunc 12. Style conventions: PHP 3 or PHP 4, *NOT* PHP3 or PHP4 deprecated *NOT* depreciated Four spaces on example code indentation. 13. Get familiar with the whole manual, before making any big changes. HTH, -Ronabop -- Brought to you from boop!, the dual boot Linux/Win95 Compaq Presario 1625 laptop, currently running RedHat 6.1. Your bopping may vary.

« previous php.doc (#969332852) next »