fix docs compiler

fix docs compiler to work also with Core and More's multiple doc files
and directory structure