New doc layout done! (well, as far as I can tell anyway). It now also works on local modules with module_modref as build target.