MCPcopy Create free account
hub / github.com/NVIDIA/DALI / write_function_files

Function write_function_files

docs/autodoc_submodules.py:228–235  ·  view source on GitHub ↗
(
    module, funs_in_module, file_content_generator, generated_path, references
)

Source from the content-addressed store, hash-verified

226
227
228def write_function_files(
229 module, funs_in_module, file_content_generator, generated_path, references
230):
231 for fun in funs_in_module:
232 full_name = f"{module}.{fun}"
233 with open(generated_path / (full_name + ".rst"), "w") as function_file:
234 single_file_str = file_content_generator(full_name, references)
235 function_file.write(single_file_str)
236
237
238def fn_autodoc(out_filename, generated_path, references):

Callers 3

fn_autodocFunction · 0.85
dynamic_autodocFunction · 0.85
dynamic_readers_autodocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected