www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Phobos consolidated documentation

Hello,


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:

https://github.com/D-Programming-Language/phobos/blob/master/posix.mak#L327

The result:

http://d-programming-language.org/phobos-prerelease/std_consolidated.html

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!


Thanks,

Andrei
Jun 09 2011