# 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.pages = {
    nixvim = {
      title = "Nixvim's functions";
      markdown = ./index.md;

      pages = {
        utils = {
          file = ../../lib/utils.nix;
          title = "utility functions";
        };
        lua = {
          file = ../../lib/to-lua.nix;
          title = "lua functions";
        };
      };
    };
  };
}