'Build the main documentation.
@type args: list of str
@param args: The command line arguments to process.  This must contain
one string argument: the path to the root of a Twisted checkout.
Additional arguments will be ignored for compatibility with legacy
build infrastructure.'

def main(self, args):

    output = self.build(FilePath(args[0]).child('docs'))
    if output:
        sys.stdout.write(u'Unclean    build:\n{}\n'.format(output))
        raise sys.exit(1)
