betty.project.generate.file module

File utilities for site generation.

betty.project.generate.file.create_file(path: Path) AsyncIterator[AsyncTextIOWrapper][source]

Create the file for a resource.

betty.project.generate.file.create_html_resource(path: Path) AsyncContextManager[AsyncTextIOWrapper][source]

Create the file for an HTML resource.

betty.project.generate.file.create_json_resource(path: Path) AsyncContextManager[AsyncTextIOWrapper][source]

Create the file for a JSON resource.