Update generateDoc script