build.zig: update the docs step

Update the docs step to use the new docgen command line.
This commit is contained in:
Manlio Perillo 2023-01-14 11:54:28 +01:00
parent fde57330fa
commit 29d7da519c

View File

@ -43,6 +43,7 @@ pub fn build(b: *Builder) !void {
) catch unreachable;
const docgen_cmd = docgen_exe.run();
docgen_cmd.addArgs(&[_][]const u8{
"--zig",
rel_zig_exe,
"doc" ++ fs.path.sep_str ++ "langref.html.in",
langref_out_path,