1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-09 03:56:05 +01:00
nixvim/docs/lib/pages.nix
Matt Sturgeon 4414d8aa14 docs/modules: init
Modules to represent pages in the docs
2025-09-30 16:21:23 +00:00

22 lines
622 B
Nix

# This file contains a list of function reference docs pages that should be generated by `nixdoc`
#
# Note: `nixdoc` uses `rnix` to parse the input file, so the file must return a fairly simple attrset.
# If there is an issue parsing the file, the resulting markdown will not contain any function docs.
{
lib.nixvim = {
_page = {
title = "Nixvim's functions";
source = ./index.md;
};
utils._page = {
title = "utility functions";
functions.file = ../../lib/utils.nix;
};
lua._page = {
title = "lua functions";
functions.file = ../../lib/to-lua.nix;
};
};
}