1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-01 22:51:04 +01:00

docs/modules: init

Modules to represent pages in the docs
This commit is contained in:
Matt Sturgeon 2025-05-20 04:16:40 +01:00
parent 9faa339d9e
commit 4414d8aa14
6 changed files with 309 additions and 187 deletions

View file

@ -4,21 +4,19 @@
# If there is an issue parsing the file, the resulting markdown will not contain any function docs.
{
lib.pages = {
nixvim = {
lib.nixvim = {
_page = {
title = "Nixvim's functions";
markdown = ./index.md;
source = ./index.md;
};
pages = {
utils = {
file = ../../lib/utils.nix;
title = "utility functions";
};
lua = {
file = ../../lib/to-lua.nix;
title = "lua functions";
};
};
utils._page = {
title = "utility functions";
functions.file = ../../lib/utils.nix;
};
lua._page = {
title = "lua functions";
functions.file = ../../lib/to-lua.nix;
};
};
}