read.me
- Raymond Camden
- Developer Evangelist @ HERE (maps, routing, etc!)
- Enterprise Cat Demo Builder
- Second best "Just Dance 2019"player (in my house)
- www.raymondcamden.com
- @raymondcamden
Instructions
- Preheat oven to 375
- Unroll and separate into triangles
- Roll up triangles, starting at wide end
Documentation is Required
Making Documentation Required
- Make it required!
- Make it part of the process
- Idealy have a NON-team member review
- Always true: Docs with spelling mistakes and grammar mistakes > no docs
Making Documentation Required (Cont)
What to Include (and When)
How about When?
AKA, when I do bring up topic X versus topic Y?
Required vs Optional
What do I need to do EVERY TIME I work with X versus what I may do with X.
My TOC
- An introduction, light weight, and a quick read.
- Installation (enough to play, simplest version)
- Getting Started, a quick demo where I can see the thing in action (think quick win)
- Everything Else
But wait...
People don't come in via the front door...
Imagine you Googled for "stripe api products" (contrived example)
Real example
<html lang="en">
<head>
<title>Placeholder Demo</title>
</head>
<body>
<form action="/process" method="post">
<label for="name">Your Name: </label>
<input type="text" name="name" id="name"
placeholder="Type your name here...">
<input type="submit">
</form>
</body>
</html>
<form action="/process" method="post">
<label for="name">Your Name: </label>
<input type="text" name="name" id="name"
placeholder="Type your name here...">
<input type="submit">
</form>
<input type="text" name="name" id="name"
placeholder="Type your name here...">
Suggestion:
Include a short snippet focused on the subject matter and link to a full example.
Link destinations - Gist (good), CodePen (better!), CodeSandbox (really good too)
Things to Avoid
- Pictures of code
- Code you can't copy
curl "http://www.raymondcamden.com" ^
-H "Authorization: booger"
Recap
- Have a policy where docs for features are required.
- What should you document and what shouldn't you document?
- Think about your organization of docs (what is shown first, what is required, what about people who come in via search engines).
Tip One: Animated GIFs
Just Don't
Tip Two: Jokes
With Caution
Tip Three: Required Login
Tip Three: Required Login
Just Don't
Suggestions
- Link to GitHub to edit (example)
- Typo/Improvement report form
Tip Five: Official Docs Person
Suggestions
- If you are lucky enough to have a team...
- Look in the "less-technical" segments of your users
Suggestions
- HTML
- Swagger (API specific)
- PDF
Questions
reach me at @raymondcamden