converting api docs to markdown