Strip sphinx-exclude block from input_path and write the result to output_path.
(input_path, output_path)
| 280 | |
| 281 | |
| 282 | def 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 | |
| 292 | def extract_image_links(content): |
no test coverage detected