From fdd72d54e3da85604c70ee062e09780437a48d31 Mon Sep 17 00:00:00 2001 From: Andre Weissflog Date: Sun, 1 Sep 2024 18:27:14 +0200 Subject: [PATCH] remove the autodoc build step, might be responsible for the random GH action errors --- build.zig | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/build.zig b/build.zig index e098760..58e4c31 100644 --- a/build.zig +++ b/build.zig @@ -61,20 +61,4 @@ pub fn build(b: *Build) void { .optimize = optimize, .mod_chipz = mod_chipz, }); - buildDocs(b, target); -} - -fn buildDocs(b: *Build, target: Build.ResolvedTarget) void { - const obj_autodocs = b.addObject(.{ - .name = "chipz", - .root_source_file = b.path("src/chipz.zig"), - .target = target, - .optimize = .Debug, - }); - const install_autodocs = b.addInstallDirectory(.{ - .source_dir = obj_autodocs.getEmittedDocs(), - .install_dir = .prefix, - .install_subdir = "docs", - }); - b.getInstallStep().dependOn(&install_autodocs.step); }