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
This commit is contained in:
Matt Sturgeon 2025-05-15 17:59:28 +01:00
parent 83d3535097
commit 0f8dc108de
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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"
{