generate draft API docs