build.zig: install the langref to $prefix/doc/langref.html

and update the CI scripts to match.
This commit is contained in:
Andrew Kelley
2023-03-10 14:22:54 -07:00
parent f4428e5804
commit 2c326c87b1
5 changed files with 5 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ stage3-debug/bin/zig build test docs \
--zig-lib-dir "$(pwd)/../lib"
# Look for HTML errors.
tidy --drop-empty-elements no -qe "$ZIG_LOCAL_CACHE_DIR/langref.html"
tidy --drop-empty-elements no -qe "stage3-debug/doc/langref.html"
# Produce the experimental std lib documentation.
stage3-debug/bin/zig test ../lib/std/std.zig -femit-docs -fno-emit-bin --zig-lib-dir ../lib