For a library I keep the README to three things: the install command, the shortest snippet that does something real, and what it doesn't do. Everything longer goes into a samples repo. A README can go stale and nobody notices. A sample that stops compiling you notice the day you bump the version.