Slide 1

Slide 1 text

Humanizing Your Documentation @carolstran

Slide 2

Slide 2 text

Why do we write documentation? Tyner Blain bit.ly/goal-driven-docs

Slide 3

Slide 3 text

Tyner Blain bit.ly/use-case-docs USE CASE DRIVEN DOCUMENTATION

Slide 4

Slide 4 text

Tyner Blain bit.ly/goal-driven-docs

Slide 5

Slide 5 text

How to adjust the speed How to change the direction How to change the drill bit Tyner Blain bit.ly/goal-driven-docs

Slide 6

Slide 6 text

How to drill a hole in a flat surface How to select the right screw How to stir paint with your drill Tyner Blain bit.ly/goal-driven-docs

Slide 7

Slide 7 text

Who do we write documentation for? @carolstran

Slide 8

Slide 8 text

Humans @carolstran

Slide 9

Slide 9 text

@carolstran

Slide 10

Slide 10 text

bit.ly/slack-docs Slack API Portal

Slide 11

Slide 11 text

Making messages interactive Subscribing to Event Types Events API vs. RTM API Slack API Portal bit.ly/slack-docs

Slide 12

Slide 12 text

bit.ly/slack-docs

Slide 13

Slide 13 text

GOAL USE CASE Tyner Blain bit.ly/use-case-docs

Slide 14

Slide 14 text

FUNCTIONAL REQUIREMENT DESIGN IMPLEMENTATION GOAL USE CASE Tyner Blain bit.ly/use-case-docs

Slide 15

Slide 15 text

FUNCTIONAL REQUIREMENT DESIGN IMPLEMENTATION GOAL USE CASE Tyner Blain bit.ly/use-case-docs

Slide 16

Slide 16 text

FUNCTIONAL REQUIREMENT DESIGN IMPLEMENTATION GOAL USE CASE Tyner Blain bit.ly/use-case-docs

Slide 17

Slide 17 text

This is cool @carolstran

Slide 18

Slide 18 text

But it doesn’t happen @carolstran

Slide 19

Slide 19 text

JavaScript @carolstran

Slide 20

Slide 20 text

What’s going on? Why is this so confusing? Do people actually enjoy this? @carolstran

Slide 21

Slide 21 text

No one wants to read your docs @carolstran

Slide 22

Slide 22 text

No one wants to read your docs @carolstran

Slide 23

Slide 23 text

People don’t mind reading docs… @carolstran

Slide 24

Slide 24 text

… as long as they’re actually helpful @carolstran

Slide 25

Slide 25 text

bit.ly/EthanMcQuarrie-tweet Ethan McQuarrie

Slide 26

Slide 26 text

Killian McMahon bit.ly/kilmc-tweet

Slide 27

Slide 27 text

bit.ly/jetleigh-tweet Leigh Momii

Slide 28

Slide 28 text

bit.ly/jetleigh-tweet Leigh Momii

Slide 29

Slide 29 text

bit.ly/jetleigh-tweet Leigh Momii

Slide 30

Slide 30 text

If only developers cared about docs… @carolstran

Slide 31

Slide 31 text

If only developers cared about docs… @carolstran

Slide 32

Slide 32 text

Writing docs is only part of the job @carolstran

Slide 33

Slide 33 text

WRITING @carolstran

Slide 34

Slide 34 text

Insensitive language @carolstran

Slide 35

Slide 35 text

If the programmer wishes to uphold the invariant, he must satisfy the function’s preconditions

Slide 36

Slide 36 text

Problematic but common terms @carolstran

Slide 37

Slide 37 text

Master / Slave Blacklist / Whitelist

Slide 38

Slide 38 text

Think before you type @carolstran

Slide 39

Slide 39 text

Primary / Replica Denylist / Allowlist

Slide 40

Slide 40 text

bit.ly/alex-js

Slide 41

Slide 41 text

alex bit.ly/alex-js

Slide 42

Slide 42 text

Saying ‘simply’ or ‘easy’ @carolstran

Slide 43

Slide 43 text

Don’t say it @carolstran

Slide 44

Slide 44 text

bit.ly/dont-say-simply Be specific Jim Fisher

Slide 45

Slide 45 text

bit.ly/dont-say-simply Be comparative Jim Fisher

Slide 46

Slide 46 text

bit.ly/dont-say-simply Be absolute Jim Fisher

Slide 47

Slide 47 text

bit.ly/dont-say-simply Show, don’t tell Jim Fisher

Slide 48

Slide 48 text

bit.ly/write-good

Slide 49

Slide 49 text

write-good *.md write good bit.ly/write-good

Slide 50

Slide 50 text

Bloated language @carolstran

Slide 51

Slide 51 text

Plain language @carolstran

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

bit.ly/ashley-fronteers “No one has ever complained that something was too easy to read” Ashley Bischoff

Slide 54

Slide 54 text

Unexpected errors @carolstran

Slide 55

Slide 55 text

Address common errors @carolstran

Slide 56

Slide 56 text

What might happen Potential reasons why What to do next @carolstran

Slide 57

Slide 57 text

bit.ly/appleII-manual Apple Computer Inc

Slide 58

Slide 58 text

Django Girls bit.ly/django-girls-tut

Slide 59

Slide 59 text

You’re in too deep @carolstran

Slide 60

Slide 60 text

Everyone is a beginner at some point @carolstran

Slide 61

Slide 61 text

Take a step back @carolstran

Slide 62

Slide 62 text

CODE SNIPPETS @carolstran

Slide 63

Slide 63 text

Code snippets shouldn’t be screenshots @carolstran

Slide 64

Slide 64 text

bit.ly/mdn-code for inline MDN docs

Slide 65

Slide 65 text

MDN
 docs bit.ly/mdn-pre
 for blocks

Slide 66

Slide 66 text

bit.ly/md-cheatsheet Markdown Cheatsheet ```javascript

Slide 67

Slide 67 text

Watch for extra spaces @carolstran

Slide 68

Slide 68 text

Foo / Bar / Baz @carolstran

Slide 69

Slide 69 text

Meaningful placeholders @carolstran

Slide 70

Slide 70 text

bit.ly/elibelly-reply “We can have variable names that are both meaningful and generic that expose their purpose via their semantics” Eli Schütze Ramirez

Slide 71

Slide 71 text

var baz = [‘foo’, 'bar' ]

Slide 72

Slide 72 text

bit.ly/js-array-mdn var fruits = [‘apple’, ‘banana' ] MDN JS array docs

Slide 73

Slide 73 text

var array_name = [‘item1’, ‘item2’ ]

Slide 74

Slide 74 text

STRUCTURE @carolstran

Slide 75

Slide 75 text

Poorly defined structure @carolstran

Slide 76

Slide 76 text

Mindful structure @carolstran

Slide 77

Slide 77 text

Explain the feature Describe the use case(s) Recommend tooling @carolstran

Slide 78

Slide 78 text

@carolstran

Slide 79

Slide 79 text

@carolstran

Slide 80

Slide 80 text

bit.ly/a11yfore HTML - Hypertext Markup Language Laura Kalbag

Slide 81

Slide 81 text

> Some quote
---
Markdown Cheatsheet bit.ly/md-cheatsheet

Slide 82

Slide 82 text

> Some quote
---
Markdown Cheatsheet bit.ly/md-cheatsheet

Slide 83

Slide 83 text

> Some quote
---
Markdown Cheatsheet bit.ly/md-cheatsheet

Slide 84

Slide 84 text

bit.ly/a11y-html h1 nav aside lang=“" Manuel Matuzovic

Slide 85

Slide 85 text

bit.ly/react-gs React

Slide 86

Slide 86 text

bit.ly/react-gs React

Slide 87

Slide 87 text

bit.ly/shopify-dp Shopify Developer Portal

Slide 88

Slide 88 text

Skip links @carolstran

Slide 89

Slide 89 text

twilio.com/docs Twilio

Slide 90

Slide 90 text

Twilio twilio.com/docs

Slide 91

Slide 91 text

developer.mozilla.org MDN

Slide 92

Slide 92 text

A11Y @carolstran

Slide 93

Slide 93 text

Documentation is left out of the conversation @carolstran

Slide 94

Slide 94 text

“Documentation is for developers”

Slide 95

Slide 95 text

StackOverflow Developer Survey bit.ly/so-devsurvey One out of every 200 software developers is blind or hard of sight

Slide 96

Slide 96 text

bit.ly/fcc-florian Florian Beijers, freeCodeCamp “The tutorials were undoubtedly good, but were completely unreadable for me”

Slide 97

Slide 97 text

This is our responsibility @carolstran

Slide 98

Slide 98 text

Anne Gibson, independent consultant bit.ly/pfa-anne “We may or may not be responsible for writing the HTML, but if the developers we’re working with don’t produce semantic structure, then they’re not actually representing the structures that we’re building in our designs”

Slide 99

Slide 99 text

Test our docs for accessibility @carolstran

Slide 100

Slide 100 text

deque.com/axe

Slide 101

Slide 101 text

bit.ly/vue-v2 Vue.js Introduction

Slide 102

Slide 102 text

wave.webaim.org

Slide 103

Slide 103 text

bit.ly/slack-integrations Slack API

Slide 104

Slide 104 text

Create an accessibility policy for your docs @carolstran

Slide 105

Slide 105 text

bit.ly/oracle-docs-a11y

Slide 106

Slide 106 text

bit.ly/mdn-a11y-hack Host an a11y hackathon for your docs Hack on MDN

Slide 107

Slide 107 text

FINAL NOTE @carolstran

Slide 108

Slide 108 text

Accuracy and consistency @carolstran

Slide 109

Slide 109 text

Aim to be honest, helpful and human @carolstran