Mod API reference generated from the WIT contract
docs/api/mods-reference.md lists every capability, world, interface, type, function and hook of horizon:mods, generated from crates/horizon-mod-sdk/wit/horizon.wit and the manifest's capabilities by a test in horizon-mods (feature pack, as CI runs it). The test fails when the page is out of date (HORIZON_WRITE_DOCS=1 rewrites it), when a function has no doc comment, or when a capability grants an interface the contract lacks. The WIT's undocumented functions and fields get doc comments (no change to the contract itself). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,3 +3,4 @@
|
||||
docs/launcher-commands.md text eol=lf
|
||||
docs/horizon-ctl-commands.md text eol=lf
|
||||
website/src/tokens.css text eol=lf
|
||||
docs/api/*-reference.md text eol=lf
|
||||
|
||||
Reference in New Issue
Block a user