Made from the code
You don't need to tag anything for the docs to be useful. For each function, type, enum and const, the index reads:
- the signature: parameter names, types and defaults, and the return type the editor works out (
@store(json): http_response); - a type's fields: their types, defaults,
frompaths, computed fields and any other rule on the field, such as a validation attribute; - an enum's values;
- the first sentence of its
///doc comment, and whether it is@deprecated; - the errors that can escape a call, from explicit throws, resolved calls and
@throwsannotations; - the call graph: the functions it calls and the functions that call it, across the project's files.
## lib/tasks.kscript
- `@add_task(tasks, title): list` The list with a new task at the end. :6
- used by: @store, @starter_tasks
- `@starter_tasks(): list` The tasks a new list starts with. :31
- calls: @add_taskFor a site with KScript.Http routes, the index starts with a summary of explicit route declarations. The generator reads them without running startup code, imports or route files. Run kscript routes for the resolved table, including routes added by resource controllers or conditional code.
Names that start with _, test files and pages are left out.