Skip to content

Commit

Permalink
docs: fix module name
Browse files Browse the repository at this point in the history
The new Autodoc doesn't work properly unless the module name matches the
root source file name.
  • Loading branch information
ianprime0509 committed Mar 23, 2024
1 parent 5d995ef commit cc5e18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fn addTests(b: *Build, target: Build.ResolvedTarget, optimize: Mode, xml: *Build

fn addDocs(b: *Build, target: Build.ResolvedTarget) void {
const obj = b.addObject(.{
.name = "zig-xml",
.name = "xml",
.root_source_file = .{ .path = "src/xml.zig" },
.target = target,
.optimize = .Debug,
Expand Down

0 comments on commit cc5e18e

Please sign in to comment.