These are my notes from Kevin Burke’s talk at the 2015 Write the Docs conference in Portland, Oregon. Any brilliant ideas in the below text should be attributed to Mr. Burke. Any errors, omissions, or misrepresentations are mine. You can also
watch a video of Mr. Burke’s talk.
Eye scans show that users read in an F-shaped pattern, from top left down the left side.
Users don’t look at big blocks of text.
- meaningful text and images
- starts of paras
Use bulleted lists, not walls of text.
Bulleted lists perform 125% better (2.25x) than paragraphs for getting people to retain information.
Use the Markdown format for Github READMEs so you can have bold, etc. formatting.
People skip things that look like ads; this means they SKIP BIG RED CALLOUTS.
(NTS: we use this a ton, think about revisiting)
Text can’t be too wide (shows JIRA’s REST API docs as bad example)
Text should be 65-90 characters wide, like books.
(NTS: “information scent”)
Biggest paragraph from Github thing has 2 sentences.
Users are also bad at searching; they also don’t try other queries (“one and done”).
There is often benefit to having subtly different variants of questions around, as people tend to ask and search using different words.
People searched for client SDKs at Twilio as:
- helper libraries
- client SDKs
- API SDKs
- library bindings
- language-specific wrappers
Example question: “how do I forward a number to my cell phone?”
Meanwhile, the docs said: “How to do everything with an incoming call”
A user won’t associate this; it’s better to have targeted pages.
No one reads anything above or below code snippets.
Code snippets can often have implicit configuration (env vars, library requires, etc.).
There can also be typos in code snippets.
A lot of people are not familiar with pip/gem/etc., so you have to help them figure out how to use peripheral tools.
Twilio has JS that fills in snippets with your actual credentials so when you copypasta a code sample it’s runnable.
People copy the dollar signs from bash snippets.
every user failure is a potential job to be done
Say you get an SSL error authenticating to the Twilio API.
What are you going to do? Google it!
None of the top google results are your actual docs (SO, blogs, forums, etc.)
(NTS: if your stuff isn’t on google, it doesn’t exist.)
transgression: docs behind a wall
At one point 50% of twilio traffic was from Google.
If you have a login wall, you’re throwing away 50% of your traffic.
transgression: providing pdfs
PDFs are not searchable.
WikiHow stole traffic from Twilio!
If users get an error message from you, put that exact message in your docs.
Error messages should be copypastable into the goog.
Validation as documentation; maybe we can improve the error message.
Suggestion: put the user’s input back into the error message string so your user can see what they passed in to cause the error.
Strings are easy to find/change.
- break up text
- first 3-5 words of every para
- more links
- care about SEO
- EVERY PAGE IS A LANDING PAGE
- your docs should always win on google
- make error messages explain how to fix the problem
- better yet, solve the problem for the user