MCPcopy Create free account
hub / github.com/Kitware/VTK / write_stripped_release_file

Function write_stripped_release_file

Documentation/docs/vtk_documentation.py:282–289  ·  view source on GitHub ↗

Strip sphinx-exclude block from input_path and write the result to output_path.

(input_path, output_path)

Source from the content-addressed store, hash-verified

280
281
282def write_stripped_release_file(input_path, output_path):
283 """
284 Strip sphinx-exclude block from input_path and write the result to output_path.
285 """
286 content = strip_sphinx_exclude_blocks_from_file(input_path)
287 os.makedirs(os.path.dirname(output_path), exist_ok=True)
288 with open(output_path, "w") as output_file:
289 output_file.write(content)
290
291
292def extract_image_links(content):

Callers 1

create_release_indexFunction · 0.85

Calls 2

writeMethod · 0.45

Tested by

no test coverage detected