Skip to content

Commit

Permalink
build: Add missing imports to docs step
Browse files Browse the repository at this point in the history
  • Loading branch information
ibokuri committed Jan 20, 2024
1 parent a54bafd commit 0200960
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ pub fn build(b: *std.Build) void {
.target = target,
.optimize = optimize,
});
inline for (imports) |imp| {
doc_obj.root_module.addImport(imp.name, imp.module);
}

const install_docs = b.addInstallDirectory(.{
.source_dir = doc_obj.getEmittedDocs(),
Expand Down

0 comments on commit 0200960

Please sign in to comment.