Make pre-commit script delete generated docs folder before regenerating