From da988cc8d954ba4b3c0608e3ebc4ed7ceacb10e5 Mon Sep 17 00:00:00 2001 From: Tim Culverhouse Date: Fri, 29 Mar 2024 09:37:07 -0500 Subject: [PATCH] readme: add link to docs page --- README.md | 2 ++ build.zig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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, });