From 1decf15b36e48c8f1a83a912226a192f0aff189a Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Tue, 8 Mar 2022 10:26:27 -0800 Subject: [PATCH] manual: Fix directory structure With linkcheck, now there are multiple mdbook outputs. --- manual/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/manual/default.nix b/manual/default.nix index 6156a90..6149062 100644 --- a/manual/default.nix +++ b/manual/default.nix @@ -72,7 +72,8 @@ in stdenv.mkDerivation { echo "No meta options text passed the the builder" >> src/reference/meta.md fi - mdbook build -d $out + mdbook build -d ./build + cp -r ./build/html $out # Build the redirect farm # GitHub Pages doesn't play well with directory symlinks. Default