readme: add link to docs page

This commit is contained in:
Tim Culverhouse 2024-03-29 09:37:07 -05:00
parent 910fac9cc2
commit da988cc8d9
2 changed files with 3 additions and 1 deletions

View file

@ -45,6 +45,8 @@ against it.
## Usage ## Usage
[Documentation](https://rockorager.github.io/libvaxis/#vaxis.Vaxis)
The below example can be run using `zig build run 2>log`. stderr must be 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. redirected in order to not print to the same screen.

View file

@ -74,7 +74,7 @@ pub fn build(b: *std.Build) void {
// Docs // Docs
const docs = b.addStaticLibrary(.{ const docs = b.addStaticLibrary(.{
.name = "vaxis", .name = "vaxis",
.root_source_file = .{ .path = "src/main.zig" }, .root_source_file = root_source_file,
.target = target, .target = target,
.optimize = optimize, .optimize = optimize,
}); });