From 0f8dc108de5de279955cd6e6f8c91bb0a9ded19d Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Thu, 15 May 2025 17:59:28 +0100 Subject: [PATCH] docs/man: move FAQ and examples before functions Like options, function docs are large. Let's put them after the FAQ and config-examples sections --- docs/man/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/man/default.nix b/docs/man/default.nix index 50789a6d..75243700 100644 --- a/docs/man/default.nix +++ b/docs/man/default.nix @@ -8,12 +8,10 @@ pandoc, }: let - markdownSections = - lib.mapAttrsToList (name: file: "${lib-docs}/${file}") lib-docs.pages - ++ [ - ../user-guide/faq.md - ../user-guide/config-examples.md - ]; + markdownSections = [ + ../user-guide/faq.md + ../user-guide/config-examples.md + ] ++ lib.mapAttrsToList (name: file: "${lib-docs}/${file}") lib-docs.pages; manHeader = runCommand "nixvim-general-doc-manpage" {