ant: Support API doc generation

Testing: Check travis is green.  The actual api generation will be in the main git repo following on from this change.