📃 master: update documentation

This commit is contained in:
Leon van Kammen 2026-06-12 10:02:39 +02:00
parent 8598281836
commit 66945c16ff

17
api.md
View file

@ -2,15 +2,15 @@
<pre> <pre>
<a href="">api</a> <a href="">api</a>
<a href="">api.parser.json</a> <a href="src/lib/json.lua">api.parser.json</a>
<a href="#api-parser-xml">api.parser.xml</a> <a href="#api-parser-xml">api.parser.xml</a>
<a href="">api.url</a> <a href="src/lib/url.lua">api.url</a>
<a href="">api.util</a> <a href="src/util.lua">api.util</a>
<a href="">api.protocol</a> <a href="">api.protocol</a>
<a href="">api.ext.*</a> <a href="#api-ext-*">api.ext.*</a>
<a href="#api-ext-exec">api.ext.exec(fn, ,..)</a> <a href="#api-ext-exec">api.ext.exec(fn, ,..)</a>
<a href="https://bakpakin.github.io/tiny-ecs/doc">api.ecs</a> <a href="#entity-component-system-ecs">api.ecs</a>
<a href="https://bakpakin.github.io/tiny-ecs/doc">api.world</a> <a href="#entity-component-system-ecs">api.world</a>
</pre> </pre>
## Entity Component System (ECS) ## Entity Component System (ECS)
@ -79,6 +79,11 @@ util.traverseXML( xml:ParseXmlText(testXml), function(node,raw)
end) end)
``` ```
## api.ext.*
This is where extensions live.
See the [skeleton extension](src/ext/skeleton/main.lua) for a typical extension startingpoint.
## api.ext.exec ## api.ext.exec
This allows batch-firing a function on each extension (if exist) This allows batch-firing a function on each extension (if exist)