diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index fa6e9c3..a980a05 100755 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -21,6 +21,7 @@ export default defineConfig({ { text: "jecs", link: "/api/jecs" }, { text: "World", link: "/api/world" }, { text: "Query", link: "/api/query" }, + { text: "Observers", link: "/api/observers" }, ], }, ], diff --git a/docs/api/observers.md b/docs/api/observers.md index 509225a..048948c 100755 --- a/docs/api/observers.md +++ b/docs/api/observers.md @@ -8,7 +8,7 @@ The observers addon is included with jecs and can be imported directly: ```luau local jecs = require(path/to/jecs) -local observers_add = require(path/to/jecs/addons/observers) +local observers_add = require(path/to/jecs/addons/ob) local world = observers_add(jecs.world()) ```