ReScriptifying core files and automate API doc generation

Hey all,

Since I am currently a little short on time (surprise, a newborn is time intensive :joy:), I was asked to write down all the work I was doing on the API doc generation part, and hope someone would be able to pick it up and help with the outstanding work.

I wrote down all of the details in the corresponding issue:

Most of the ground work is there. It’s just a matter to walk the last mile and verify that the output looks as expected.

@cristianoc and I are there to assist whenever there are any questions!