mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-09 19:36:45 +00:00
16 lines
441 B
Zig
16 lines
441 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 output = std.io.getStdOut().writer();
|
|
|
|
try gen.substitute(alloc, @embedFile("doc/ghostty_5_header.md"), output);
|
|
|
|
try gen.generate_config(output, false);
|
|
|
|
try gen.substitute(alloc, @embedFile("doc/ghostty_5_footer.md"), output);
|
|
}
|