MCPcopy
hub / github.com/cosmicpython/book / main

Function main

render-diagrams.py:19–26  ·  view source on GitHub ↗
(paths)

Source from the content-addressed store, hash-verified

17 yield chapter_name
18
19def main(paths):
20 print(paths)
21 if paths:
22 chapter_names = [p.replace('.html', '').replace('.asciidoc', '') for p in paths]
23 else:
24 chapter_names = all_chapter_names()
25 for chapter_name in chapter_names:
26 render_images(chapter_name)
27
28
29def render_images(chapter_name):

Callers 1

render-diagrams.pyFile · 0.70

Calls 2

all_chapter_namesFunction · 0.85
render_imagesFunction · 0.85

Tested by

no test coverage detected