You need to create a file that contains your API documentation, your code, and code conventions. You should also include additional information such as the authors, etc. For more detailed information, read this article.