Files
ghostty/src/generate_ghostty_1_markdown.zig
2024-01-21 15:07:22 -06:00

17 lines
478 B
Zig

const std = @import("std");
const gen = @import("generate_markdown.zig");
pub fn main() !void {
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
const alloc = gpa.allocator();
const writer = std.io.getStdOut().writer();
try gen.substitute(alloc, @embedFile("doc/ghostty_1_header.md"), writer);
try gen.generate_actions(writer);
try gen.generate_config(writer, true);
try gen.substitute(alloc, @embedFile("doc/ghostty_1_footer.md"), writer);
}