def build(self, projectName, projectURL, sourceURL, packagePath,
              outputPath):
        from pydoctor.driver import main
        main(
            ["--project-name", projectName,
             "--project-url", projectURL,
             "--system-class", "pydoctor.twistedmodel.TwistedSystem",
             "--project-base-dir", packagePath.parent().path,
             "--html-viewsource-base", sourceURL,
             "--add-package", packagePath.path,
             "--html-output", outputPath.path,
             "--html-write-function-pages", "--quiet", "--make-html"])
Call pydoctor's entry point with options which will generate HTML
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/APIBuilder.build