MCPcopy
hub / github.com/KhronosGroup/Vulkan-Docs / reflowAllAdocFiles

Function reflowAllAdocFiles

scripts/reflow.py:507–520  ·  view source on GitHub ↗
(folder_to_reflow, args)

Source from the content-addressed store, hash-verified

505 args.warnCount += callback.warnCount
506
507def reflowAllAdocFiles(folder_to_reflow, args):
508 for root, subdirs, files in os.walk(folder_to_reflow):
509 for file in files:
510 if file.endswith(conventions.file_suffix):
511 file_path = os.path.join(root, file)
512 reflowFile(file_path, args)
513 for subdir in subdirs:
514 sub_folder = os.path.join(root, subdir)
515 print(f'Sub-folder = {sub_folder}')
516 if subdir.lower() not in conventions.spec_no_reflow_dirs:
517 print(f' Parsing = {sub_folder}')
518 reflowAllAdocFiles(sub_folder, args)
519 else:
520 print(f' Skipping = {sub_folder}')
521
522if __name__ == '__main__':
523 parser = argparse.ArgumentParser()

Callers 1

reflow.pyFile · 0.85

Calls 1

reflowFileFunction · 0.85

Tested by

no test coverage detected