Creating documents through dub actually set using the build type.
Try dub build --build=docs or dub build --build=ddox .
The former builds "simple" ddocs, the latter uses dub to extract ddox to format your documents.
This is really shown in the help, its just well hidden. Take a look at the "build" section of dub build -h (you can use dub <command> -h to get detailed help on a specific command).
rcorre
source share