Skip to content

Commit

Permalink
Fix docs building
Browse files Browse the repository at this point in the history
  • Loading branch information
SnorlaxAssist committed Jun 14, 2024
1 parent 6657337 commit d364737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
echo ::group::Archive artifact
tar \
--dereference --hard-dereference \
--directory "docs" \
--directory "zig-out/docs" \
-cvf "$RUNNER_TEMP/docs-artifact.tar" \
--exclude=.git \
--exclude=.github \
Expand Down
4 changes: 2 additions & 2 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});

docs_obj.linkLibrary(lib);
docs_obj.addIncludePath(lz4_dependency.path("lib"));

const install_docs = b.addInstallDirectory(.{
.source_dir = docs_obj.getEmittedDocs(),
.install_dir = .prefix,
.install_subdir = "../docs",
.install_subdir = "docs",
});
docs_step.dependOn(&install_docs.step);
}

0 comments on commit d364737

Please sign in to comment.