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, pandoc,
}: }:
let let
markdownSections = markdownSections = [
lib.mapAttrsToList (name: file: "${lib-docs}/${file}") lib-docs.pages ../user-guide/faq.md
++ [ ../user-guide/config-examples.md
../user-guide/faq.md ] ++ lib.mapAttrsToList (name: file: "${lib-docs}/${file}") lib-docs.pages;
../user-guide/config-examples.md
];
manHeader = manHeader =
runCommand "nixvim-general-doc-manpage" runCommand "nixvim-general-doc-manpage"
{ {