clan services: use service modules from clan-core by default

Users will use clan-core services first before making their own. Therefore this is a better default. Also it allow us to simplify rendering of our docs
This commit is contained in:
DavHau
2025-06-30 16:03:48 +07:00
parent 76ca59e9d3
commit f966f5b745
6 changed files with 43 additions and 37 deletions

View File

@@ -31,7 +31,7 @@ lib.fix (
# ------------------------------------
# ClanLib functions
evalClan = clanLib.callLib ./modules/inventory/eval-clan-modules { };
inventory = clanLib.callLib ./modules/inventory { };
inventory = clanLib.callLib ./modules/inventory { clan-core = self; };
modules = clanLib.callLib ./modules/inventory/frontmatter { };
test = clanLib.callLib ./test { };
# Custom types