From c1ae35d34a57651b2bcb99c5e80a6dc524d805e0 Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Mon, 8 Apr 2024 20:08:53 +0200 Subject: docs: don't compute SUMMARY.md during build this would make meson build compatibility unnecessarily hard and the cli does not change often enough to justify this complexity. Change-Id: I17b1870cdf8538feeaa01a9945db97af2175a642 --- doc/manual/generate-manpage.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'doc/manual/generate-manpage.nix') diff --git a/doc/manual/generate-manpage.nix b/doc/manual/generate-manpage.nix index cabfdd0d8..5c6a2a48a 100644 --- a/doc/manual/generate-manpage.nix +++ b/doc/manual/generate-manpage.nix @@ -182,12 +182,6 @@ let toplevel = commandInfo.args; }; - tableOfContents = - let - showEntry = page: " - [${page.command}](command-ref/new-cli/${page.name})"; - in - concatStringsSep "\n" (map showEntry manpages) + "\n"; - storeDocs = let showStore = @@ -227,4 +221,4 @@ let in concatStrings (attrValues (mapAttrs showStore commandInfo.stores)); in -(listToAttrs manpages) // { "SUMMARY.md" = tableOfContents; } +listToAttrs manpages -- cgit v1.2.3