docs: add a module-developer API reference (docs/api/) — Command/Module/ChanMode/UserMode traits, the Server API surface, per-entity Extensible state, and a first-module tutorial

This commit is contained in:
Jean Chevronnet 2026-08-13 02:55:56 +00:00
parent bd054f7721
commit d795d1a59c
7 changed files with 569 additions and 1 deletions

View file

@ -117,7 +117,8 @@ objects instead of a fragile plugin ABI. **Full design notes:**
## Extending
Three small extension points, each one file + one table line:
Three small extension points, each one file + one table line — full reference and
a tutorial in [`docs/api/`](docs/api/):
- **Commands** (`src/command.rs`, `src/coremods/`) — a handler with `name`,
`min_params`, `before_reg`, `handle(&mut Server, uid, params)`.