new format api doc generator