jjb: fix doc build to support multiple depth of dirs