docs: add docs for clanLib

This commit is contained in:
Johannes Kirschbauer
2025-10-20 14:57:10 +02:00
parent 064bc43f27
commit 9857a395f1
3 changed files with 20 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
`clanLib` is a collection of functions and utilities
!!! Danger
unless explicitly mentioned everything in ClanLib is for internal use in clan-core.
## Stable Attributes
The following attributes are publicly maintained
### `clanLib.clan`
A function that takes [clan options](../../reference/options/clan.md)
The option definitions can be composed by means of `imports`
Returns an evaluated clan configuration - A `lib.evalModules` result:
- `.config`: *The main result*
- `.options`,`.moduleGraph`, ...: For debugging.