Am 24.10.2014 08:38, schrieb Jacob Carlborg:

How realistic would it be to have code.dlang.org automatically generate documentation for all Dub packages? That includes be able to view the generated documentation on code.dlang.org.

Technically it would be very simple if DDOX is used as a library.
Contrary to what I initially thought, it also wouldn't be necessary to
play around with virtual environments for security, because instead of
actually building the project with JSON output it should be sufficient
to just run DDOX with its dparser (the one used for Dscanner) based back
end.

The only thing is that for efficiency reasons, it would probably be a
good idea to also implement serialization functionality for the internal
AST, so that it can be stored in the database instead of constantly
reparsing or storing everything in memory (or maybe a fixed size cache
is enough for now).