generate doc using ex_doc