skip existing examples on generation
@@ -35,6 +35,10 @@ function slug(value) {
}
system("mkdir -p " output "/" tag);
out_file=output "/" tag "/" operation_id ".go";
+ if (system("[ -f " out_file " ]") == 0) {
+ printf "skipped: "
+ in_code_block = 0;
+ }
print out_file;
} else {
print "Can't parse " FILENAME > "/dev/stderr"
