It has a bit to do with the fact that I think our documentation looked very crowded on the documentation page, with a lot of redundant data.
Tbh, I don’t consider our documentation page a very robust “api” to parse info from. We might change how things are structured and/or look from one day to another.
Instead I suggest you use our generated documentation directly.
It is built with each release (dev, beta or stable).
We should add a link to it to our d.defold.com releases too (or do you see any problems with this @britzl?)
http://d.defold.com/archive/stable/af6a29c2a1e2545e2d033790089c606ac9f0bb7a/engine/share/ref-doc.zip
The archive contains .json
, .sdoc
and .script_api
E.g. doc/dmSocket.json
{
"info": {
"group": "DEFOLD SDK",
"description": "Socket functions.",
"namespace": "dmSocket",
"brief": "SDK Socket API documentation",
"file": "dmsdk/dlib/socket.h",
"path": "engine/dlib/src/dmsdk/dlib/socket.h",
"name": "Socket"
},
"elements": [
{
"replaces": "",
"description": "Socket default timeout value",
"parameters": [],
"returnvalues": [],
"notes": [],
"brief": "Socket default timeout value",
"examples": "",
"members": [],
"error": "",
"tparams": [],
"type": "VARIABLE",
"name": "SOCKET_TIMEOUT"
},
{
"replaces": "",
"description": "Socket type definition",
"parameters": [],
"returnvalues": [],
"notes": [],
"brief": "Socket type definition",
"examples": "",
"members": [],
"error": "",
"tparams": [],
"type": "TYPEDEF",
"name": "Socket"
},
... loong file ...