www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Phobos consolidated documentation


I recently added the paraphernalia necessary for a one-file build of the 
entire Phobos documentation. The system consists of a header template 
followed by each individual module's documentation in turn followed by a 
footer template. The documentation is generated using a specialized 
std.ddoc. See the target html_consolidated in posix.mak:


The result:


This can be of course improved in any number of ways, with at least two 
targets in mind:

1. E-book for kindle etc. In that case probably the navigation means 
should be adjusted a bit.

2. Printing. In that case navigation becomes irrelevant altogether.

If anyone would like to add some html magic, have at it. I'm looking 
forward to seeing related pull requests!


Jun 09 2011