diff options
author | eldritch horrors <pennae@lix.systems> | 2024-04-08 20:08:53 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-04-09 02:09:36 +0000 |
commit | c1ae35d34a57651b2bcb99c5e80a6dc524d805e0 (patch) | |
tree | e34adbe52e084097a001f528cc04376fad1c8fd1 /doc/manual/generate-manpage.nix | |
parent | d9bc197ff4cf3fa1d80e213ddc56efd7d09a5d63 (diff) |
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
Diffstat (limited to 'doc/manual/generate-manpage.nix')
-rw-r--r-- | doc/manual/generate-manpage.nix | 8 |
1 files changed, 1 insertions, 7 deletions
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 |