diff --git a/README.md b/README.md index 303f2de..c654ab3 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,8 @@ against it. ## Usage +[Documentation](https://rockorager.github.io/libvaxis/#vaxis.Vaxis) + The below example can be run using `zig build run 2>log`. stderr must be redirected in order to not print to the same screen. diff --git a/build.zig b/build.zig index 88544f9..52b5187 100644 --- a/build.zig +++ b/build.zig @@ -74,7 +74,7 @@ pub fn build(b: *std.Build) void { // Docs const docs = b.addStaticLibrary(.{ .name = "vaxis", - .root_source_file = .{ .path = "src/main.zig" }, + .root_source_file = root_source_file, .target = target, .optimize = optimize, });