'Move the generated documentation to its artifact directory.'

def move(self, **__):

    if os.path.exists(self.old_artifact_path):
        if os.path.exists(self.target):
            shutil.rmtree(self.target)
        log.info('Copying    %s    on    the    local    filesystem', self.type)
        shutil.copytree(self.old_artifact_path, self.target)
    else:
        log.warning('Not    moving    docs,    because    the    build    dir    is    unknown.')
