mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
fixed autodoc
This commit is contained in:
parent
14fbe5849d
commit
a74dfb868d
2 changed files with 2 additions and 2 deletions
|
@ -33,14 +33,14 @@ pub fn build(b: *std.Build) !void {
|
|||
|
||||
// -- Docs
|
||||
const docs_obj = b.addObject(.{
|
||||
.name = "zap",
|
||||
.name = "zap", // name doesn't seem to matter
|
||||
.root_source_file = .{ .path = "src/zap.zig" },
|
||||
.target = target,
|
||||
.optimize = .Debug,
|
||||
});
|
||||
const install_docs = b.addInstallDirectory(.{
|
||||
.install_dir = .prefix,
|
||||
.install_subdir = "docs",
|
||||
.install_subdir = "zap", // will also be the main namespace in the docs
|
||||
.source_dir = docs_obj.getEmittedDocs(),
|
||||
});
|
||||
b.step("docs", "Build docs").dependOn(&install_docs.step);
|
||||
|
|
BIN
docs/sources.tar
BIN
docs/sources.tar
Binary file not shown.
Loading…
Add table
Reference in a new issue