The README.md
file and supporting documents should describe the following, in this order. If the file starts getting long, break it into pieces
Project Titles as a level-1 heading
Overview
Example Usage: a basic example. Nothing fancy – put rich examples in the detailed usage section
Getting Started
Procfile
to start any necessary servers or daemon processesDesign Goals
Detailed Usage
Comparable Tools
Developer info
Colophon
LICENSE.md
file. Don’t paste the license contents in here.Call the file README.md
.
Write in markdown format.
You should use triple backtick blocks for code, and supply a language prefix:
```ruby
def hello(str)
puts "hello #{str}!"
end
```
Do not wrap lines. In emacs, enable the longlines-mode
to make your document word wrap intelligently.
Besides a README.md
, your repo should contain a CHANGELOG.md
summarizing major code changes, a LICENSE.md
describing the code’s license (typically Apache 2.0 for our open-source projects, All Rights Reserved for internal projects), and a notes/
directory that is a git submodule of the project’s wiki. See the style guide for repo organization for more details.