Beginner's Mind
Writing Documentation for Newbies
Liz Howard
π©βπ€π©βπ»π©βπ«
enki.com
lizthedeveloper.com
@lizthedeveloper
I have worked in:
Β
- AutoHotkey
- JavaScript (early web)
- JavaScript (today)
- AS400 Databases
- SQL
- Powershell
- PCL
- COBOL
- ASP.NET
- VBScript
- C++
- Visual Basic 3, 5 and 6
- C#
- ColdFusion
- Python
- ARGOStore
- ARGL
- PCL
- GCode
- R
- Java
- XSL Template (a turing complete language)
- Β
Learning a new environment sucks because of poor documentation
Beginner's Mind
(shoshin)
[add: illustrative koan about beginner's mind]
[add: super predictable stacked river stones picture]
Don't orient your documentation around your frame of reference. βΈοΈ
Your customers aren't your team,
that's why they need the docs. π€·ββοΈ π€·ββοΈ
What a junior developer can understand
gets used. π§π¦
If they teach it in a bootcamp
It's mainstream. π
Be learning a new skill,
always.Β π©βππ¨βπ
Forge new territory;
learn things outside of software. Β π©βππ¨βπ§π©βπΎπ¨βπ€
Teach. Β π©βπ«π¨βπ«
This Talk
http://bit.ly/how-to-document
https://slides.com/lizh/nodesummit
All images and screenshots are linked to their source.
Open source checklists for documentation:
Where do we start?
#notallpackages
Small Tool π
Library π
Low-Distribution Platform π―
High-Distribution Open-Source Platform π
βPlatform-As-A-Service π¦
What things are:
a Documentation Schema
Quickstart
π ππ―π π¦
RunKit
Use
Your docs need to be playgrounds
Overview
ππ―π π¦
Multiple audiences?
Choose-your-own-adventure
Overview
API Documentation
π ππ―π π¦
API Documentation
API Documentation should be generated
Walkthroughs
ππ π¦
Demos
ππ―π π¦
Walkthroughs and Demos
Better Together π
Courses
A course isn't about content
Exercises
Junior Developers need a chance to practice first.
Courses
Instructional designΒ (ID), or instructional systems designΒ (ISD), is the practice of creating "instructional experiences which make the acquisition of knowledge and skill more efficient, effective, and appealing."
π ? π¦++
You don't know educational theory.
Hire an expert.
(if you can)
Emoji π, Tone, and Diagrams
Emoji
π€ - Pedantics
π - Tool
β - Incomplete
β - Complete
πΎ - Game
π - Extra Credit
π - Book Resource
π¦ - Platform as a Service
π€ - Unplanned Feature
π· - Code Smell
π©βπ€ - CTO
Emoji
π - Bug
π¦ - Design Bug
π - Won't Fix
π¨ - Urgent Issue
π - Verified Fixed
Emoji
How many π¨?
4
Org-wide: Use a consistent format
Tone
Tone
Not all junior developers are millenials
Create a tone styleguide that fits your audience
Diagrams
To help engineers on the autism spectrum
include a diagram
Don't incur documentation debt
π±π°π€¦ββοΈπ€·ββοΈ
Review Cycles
What
How Often
API Documentation
Demos
Quickstarts
Continuous
Walkthroughs
6 Months
Courses
1 Year
Unmaintained Walkthroughs
π π π π = π π π
Get your docs
translated.
Silicon Valley isn't the center of the universe. Β Β Β ππ
π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€π€
NodeSummit
By LizTheDeveloper
NodeSummit
- 2,230