Doc subcategory merge fix

fixes issue with newly introduced subcategories with modules being clobbered so only last dir (core or extras) processed wins.