if arg == "--ignore-stdlib": ignore_stdlib = True elif arg == "--no-check-links": build_check_links = False elif arg == "--editable": build_contenteditable = True else: argv_copy.append(arg) print("\n\n") print("ignore_stdlib: " + str(ignore_stdlib)) print("build_check_links: " + str(build_check_links)) print("build_contenteditable: " + str(build_contenteditable)) print("\n\n") set_replace_simple_code(build_contenteditable) with (open(path.join(root_folder, "_nav-mapped.yml"), 'w')) as output: yaml.dump(get_nav_impl(), output) if len(argv_copy) > 1: if argv_copy[1] == "build": build_mode = True urls = freezer.freeze() generate_sitemap(urls) if len(build_errors) > 0: for error in build_errors: sys.stderr.write(error + '\n') sys.exit(-1) elif argv_copy[1] == "index":