From fd685537eae456540bf6b2458021c61d4f43a223 Mon Sep 17 00:00:00 2001 From: Ukendio Date: Sun, 18 May 2025 22:59:07 +0200 Subject: [PATCH] Fix docs issues --- docs/learn/overview.md | 1 + docs/resources.md | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/learn/overview.md b/docs/learn/overview.md index 020c9b6..2e6eeaf 100644 --- a/docs/learn/overview.md +++ b/docs/learn/overview.md @@ -89,6 +89,7 @@ print(`${world.get(Position, jecs.Name)} is a Component: ${world.has(Position, j ### Entity ranges Jecs reserves entity ids under a threshold (HI_COMPONENT_ID, default is 256) for components. That means that regular entities will start after this number. This number can be further specified via the `range` member function. +::: code-group ```luau [luau] world:range(1000, 5000) -- Defines the lower and upper bounds of the entity range respectively diff --git a/docs/resources.md b/docs/resources.md index 55269bf..a0d1523 100644 --- a/docs/resources.md +++ b/docs/resources.md @@ -32,8 +32,6 @@ - [Awesome Entity Component System (link collection related to ECS) - Jeongseok Lee](https://github.com/jslee02/awesome-entity-component-system) - [Hibitset - DOCS.RS](https://docs.rs/hibitset/0.6.3/hibitset/) ------------------- - ## Addons A collection of third-party jecs addons made by the community. If you would like to share what you're working on, [submit a pull request](/learn/contributing/pull-requests#addons)!