Documentation has been one of the sorest spots for new users of Recess. Until now it hasn't been possible for the community to contribute to documentation.
Recess could really use your help with documentation.
Over the last couple of days a big push was made to pull together the existing documentation into the DocBook XML format [
http://www.docbook.org/]. DocBook is a common format for technical books and documentation. It is plain-old-XML, is easily modified and contributed to, and has great support for generating down to XHTML, PDF and other formats.
Examples of published output with existing content can be found here:
How to Contribute to Recess Documentation
Using GitHub and XML documents we can now iterate on the Recess documentation together.
Second, run the ./scripts/install.sh script from the base directory of the repository. This downloads/unpacks the Java libraries for processing DocBook to generate HTML and PDF with syntax highlighting.
- *nix folks this should just work
Third, run the ./scripts/publish.sh script from the base directory of the repository. The result should be a folder called 'pub' that has the HTML and PDF output.
Finally,
edit the book's content. Don't feel constrained to the structure that's currently in-place. Use the existing chapters for examples of how to mark-up code examples, sections of a chapter, etc. This page is also a great resource on Docbook's tags: [
http://www.docbook.org/tdg5/en/html/docbook.html]
Anywhere you can contribute, add comments on, provide a source code example for, please do! While the amount of documentation exists is sparse we should err on the side of quantity over quality. With editing we can refine the rough bits and iterate together towards having the best documentation of any PHP framework.
Finally, request a pull and your contributions will be merged into the documentation.
If you have any questions or run into problems with the install/publish scripts respond to this e-mail thread.
Thanks!