From 6a5f100b8bab3b60932a950dfe7dcdfb0330084c Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Sun, 5 May 2024 17:43:44 +0200 Subject: [PATCH] doc: fix build littering doc/ mdbook has the unfortunate habit of creating stub files for chapters it can't find on disk. turn off this helpful feature as it masks errors in the summary file, and fix a recently introduced instance of this error. Change-Id: I10d86aac0489c9c494bd5c8a50047415f4d4b18d --- doc/manual/book.toml | 3 +++ doc/manual/src/SUMMARY.md | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/manual/book.toml b/doc/manual/book.toml index ae4ff9b35..54efa7965 100644 --- a/doc/manual/book.toml +++ b/doc/manual/book.toml @@ -1,6 +1,9 @@ [book] title = "Nix Reference Manual" +[build] +create-missing = false + [output.html] additional-css = ["custom.css"] additional-js = ["redirects.js"] diff --git a/doc/manual/src/SUMMARY.md b/doc/manual/src/SUMMARY.md index 2437c0dc5..499f3f9db 100644 --- a/doc/manual/src/SUMMARY.md +++ b/doc/manual/src/SUMMARY.md @@ -154,7 +154,6 @@ - [nix run](command-ref/new-cli/nix3-run.md) - [nix search](command-ref/new-cli/nix3-search.md) - [nix shell](command-ref/new-cli/nix3-shell.md) - - [nix show-config](command-ref/new-cli/nix3-show-config.md) - [nix store](command-ref/new-cli/nix3-store.md) - [nix store add-file](command-ref/new-cli/nix3-store-add-file.md) - [nix store add-path](command-ref/new-cli/nix3-store-add-path.md)