fix docs compiler

fix docs compiler to work also with Core and More's multiple doc files
and directory structure
Could we grab this from package.json?