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"])
Replacing the Metadata and Files of a Resource
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/APIBuilder.build--crossover with--dataset/ETHPy150Open swordapp/python-client-sword2/sword2/connection.py/Connection.update_metadata_and_files_for_resource