Documentation drive
#21
So far this is only supplementary information. The APIDump still doesn't do anything else than class reference. It has nothing on hooks, doesn't really promote using named constants, and has nothing on the style or some techniques. I think hooks are the next thing to add.

The HTML is generated completely by the plugin, by hand. It just writes the bare HTML files out from the information it collects on the exported classes. Have a look at APIDump's main.lua file. It has a DumpAPIHtm() function that does it all - it queries the exported API (by calling CreateAPITables() ), then matches that API to the documentation provided in the APIDesc file (ReadDescriptions() ), and finally spits out the class index file along with a file for each class (WriteHtmlClass() ). You can see pieces of HTML interspersed in the code. Does that answer what you were asking, or did I misunderstand the question?

I'm gonna document the cPluginManager class, it has seen a lot of changes since the API was last written.
Reply
Thanks given by:


Messages In This Thread
Documentation drive - by xoft - 08-11-2013, 09:42 PM
RE: Documentation drive - by bearbin - 08-11-2013, 09:48 PM
RE: Documentation drive - by xoft - 09-09-2013, 06:52 PM
RE: Documentation drive - by bearbin - 09-10-2013, 03:34 AM
RE: Documentation drive - by xoft - 09-10-2013, 06:33 AM
RE: Documentation drive - by bearbin - 09-11-2013, 03:09 AM
RE: Documentation drive - by xoft - 09-12-2013, 12:39 AM
RE: Documentation drive - by bearbin - 09-12-2013, 03:51 AM
RE: Documentation drive - by FakeTruth - 09-12-2013, 01:32 AM
RE: Documentation drive - by xoft - 09-12-2013, 05:16 AM
RE: Documentation drive - by bearbin - 09-12-2013, 05:54 AM
RE: Documentation drive - by xoft - 09-13-2013, 04:40 AM
RE: Documentation drive - by xoft - 09-15-2013, 07:49 AM
RE: Documentation drive - by xoft - 09-15-2013, 07:33 PM
RE: Documentation drive - by xoft - 09-16-2013, 05:56 AM
RE: Documentation drive - by xoft - 09-17-2013, 06:54 AM
RE: Documentation drive - by NiLSPACE - 09-17-2013, 07:05 AM
RE: Documentation drive - by NiLSPACE - 09-18-2013, 01:46 AM
RE: Documentation drive - by xoft - 09-18-2013, 04:17 AM
RE: Documentation drive - by bearbin - 09-18-2013, 04:24 AM
RE: Documentation drive - by xoft - 09-18-2013, 04:58 AM
RE: Documentation drive - by xoft - 09-19-2013, 05:34 AM
RE: Documentation drive - by xoft - 09-27-2013, 06:05 AM
RE: Documentation drive - by xoft - 09-27-2013, 05:33 PM
RE: Documentation drive - by tigerw - 09-28-2013, 06:46 AM
RE: Documentation drive - by NiLSPACE - 09-27-2013, 06:48 PM
RE: Documentation drive - by xoft - 09-28-2013, 07:05 AM
RE: Documentation drive - by tigerw - 09-28-2013, 07:09 AM
RE: Documentation drive - by NiLSPACE - 10-05-2013, 04:42 AM
RE: Documentation drive - by xoft - 10-05-2013, 05:19 AM
RE: Documentation drive - by xoft - 10-09-2013, 11:18 PM
RE: Documentation drive - by xoft - 10-13-2013, 02:40 AM
RE: Documentation drive - by xoft - 10-14-2013, 04:53 PM
RE: Documentation drive - by tonibm19 - 10-15-2013, 01:13 AM
RE: Documentation drive - by bearbin - 10-15-2013, 01:59 AM
RE: Documentation drive - by tigerw - 10-15-2013, 04:55 AM
RE: Documentation drive - by xoft - 10-15-2013, 05:10 AM
RE: Documentation drive - by xoft - 10-15-2013, 03:56 PM
RE: Documentation drive - by bearbin - 10-15-2013, 04:39 PM
RE: Documentation drive - by xoft - 10-16-2013, 01:20 AM
RE: Documentation drive - by tonibm19 - 10-16-2013, 01:54 AM
RE: Documentation drive - by xoft - 10-16-2013, 02:13 AM
RE: Documentation drive - by tigerw - 10-17-2013, 05:25 AM
RE: Documentation drive - by NiLSPACE - 10-17-2013, 05:37 AM
RE: Documentation drive - by xoft - 10-18-2013, 12:19 AM
RE: Documentation drive - by bearbin - 10-18-2013, 04:18 PM
RE: Documentation drive - by xoft - 10-18-2013, 07:53 PM
RE: Documentation drive - by tigerw - 10-19-2013, 04:45 AM
RE: Documentation drive - by xoft - 10-20-2013, 06:04 AM
RE: Documentation drive - by xoft - 10-21-2013, 07:46 AM
RE: Documentation drive - by bearbin - 10-21-2013, 05:58 PM
RE: Documentation drive - by xoft - 10-22-2013, 06:28 AM
RE: Documentation drive - by bearbin - 10-22-2013, 06:35 AM
RE: Documentation drive - by xoft - 10-22-2013, 05:15 PM
RE: Documentation drive - by xoft - 11-06-2013, 03:31 AM
RE: Documentation drive - by NiLSPACE - 11-06-2013, 03:43 AM
RE: Documentation drive - by xoft - 11-16-2013, 07:56 AM
RE: Documentation drive - by xoft - 11-24-2013, 05:50 AM
RE: Documentation drive - by xoft - 12-01-2013, 10:18 PM
RE: Documentation drive - by tigerw - 12-02-2013, 02:37 AM
RE: Documentation drive - by xoft - 12-02-2013, 04:40 AM
RE: Documentation drive - by xoft - 02-20-2014, 07:58 PM
RE: Documentation drive - by tigerw - 02-20-2014, 10:23 PM
RE: Documentation drive - by xoft - 03-01-2014, 01:32 AM
RE: Documentation drive - by worktycho - 03-01-2014, 06:11 AM
RE: Documentation drive - by xoft - 03-01-2014, 11:20 AM
RE: Documentation drive - by worktycho - 03-01-2014, 10:41 PM
RE: Documentation drive - by xoft - 03-01-2014, 10:49 PM
RE: Documentation drive - by worktycho - 03-02-2014, 01:24 AM
RE: Documentation drive - by xoft - 10-22-2014, 07:40 AM



Users browsing this thread: 4 Guest(s)