Currently only the c++ part has its documentation generated. Since there are some JSDOC comments on the Js part of the code as well I thought it would be nice to generate it as well. I therefore separated the js code (AI, GUI, RMGEN, Components, Globals, Helpers,...) from the public folder of A20 to generate the documentation.
Documentation was generated with JSDOC 3 using the node.js plugin
Since classes don't have the proper @class tag for now I added in attack.js so you can see what it can look like.
Here are the Documentation files (Open Index.html) : out.7z
And here are the files I used for the generation : 0adtest.7z
During the execution I got the following warnings : The unexpected identifiers ones are deprecated foreach (@elexis if you want to nuke those) and there are some errors with comments.