Added new method $webgen->getSourceDirectory()