the art of documentation and for open source projects

99
The Art of Documentation and Readme.md for Open Source Projects @Ben_Hall [email protected] Katacoda.com

Upload: ben-hall

Post on 17-Mar-2018

199 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: The Art of Documentation and   for Open Source Projects

The Art of Documentation

and Readme.md

for Open Source Projects

@Ben_Hall

[email protected]

Katacoda.com

Page 2: The Art of Documentation and   for Open Source Projects
Page 3: The Art of Documentation and   for Open Source Projects
Page 4: The Art of Documentation and   for Open Source Projects

The Art of Documentation

and Readme.md

for Open Source Projects

@Ben_Hall

[email protected]

Katacoda.com

Page 5: The Art of Documentation and   for Open Source Projects

@Ben_Hall / Blog.BenHall.me.uk

WH

O A

M I?

Page 6: The Art of Documentation and   for Open Source Projects

Learn via Interactive Browser-Based LabsKatacoda.com

Page 7: The Art of Documentation and   for Open Source Projects
Page 8: The Art of Documentation and   for Open Source Projects

How documentation can transform

the adoption of your product/project

Different to code documentation

Page 9: The Art of Documentation and   for Open Source Projects

Where to begin?

Page 10: The Art of Documentation and   for Open Source Projects

https://twitter.com/samnewman/status/934185375291060224

Page 11: The Art of Documentation and   for Open Source Projects

https://twitter.com/joeerl/status/934473378601291776?s=09

Page 12: The Art of Documentation and   for Open Source Projects
Page 13: The Art of Documentation and   for Open Source Projects
Page 14: The Art of Documentation and   for Open Source Projects

The journey begins long before

myproduct.com/docs

Page 15: The Art of Documentation and   for Open Source Projects

Exploration Getting StartedOnBoarding/Problem

SolvingGuidance/Discovery Reference

Product Adoption JourneyApplies to both Website and Readme.md

Page 16: The Art of Documentation and   for Open Source Projects
Page 17: The Art of Documentation and   for Open Source Projects

Exploration Getting StartedOnBoarding/Problem

SolvingGuidance/Discovery Reference

Page 18: The Art of Documentation and   for Open Source Projects

Stage 1: Exploration

Page 19: The Art of Documentation and   for Open Source Projects

“Why should I care?”

Page 20: The Art of Documentation and   for Open Source Projects
Page 21: The Art of Documentation and   for Open Source Projects
Page 22: The Art of Documentation and   for Open Source Projects
Page 23: The Art of Documentation and   for Open Source Projects
Page 24: The Art of Documentation and   for Open Source Projects
Page 25: The Art of Documentation and   for Open Source Projects
Page 26: The Art of Documentation and   for Open Source Projects
Page 27: The Art of Documentation and   for Open Source Projects
Page 28: The Art of Documentation and   for Open Source Projects

Stage 2: Getting Started

Page 29: The Art of Documentation and   for Open Source Projects

“Do you really solve my

problem?”

Page 30: The Art of Documentation and   for Open Source Projects

“Download 10GB VM”

Page 31: The Art of Documentation and   for Open Source Projects

“Deploy using

CloudFormation”

Page 32: The Art of Documentation and   for Open Source Projects

Asking for a large commitment

before demonstrating you’re the

right fit

Page 33: The Art of Documentation and   for Open Source Projects
Page 34: The Art of Documentation and   for Open Source Projects
Page 35: The Art of Documentation and   for Open Source Projects
Page 36: The Art of Documentation and   for Open Source Projects
Page 37: The Art of Documentation and   for Open Source Projects
Page 38: The Art of Documentation and   for Open Source Projects
Page 39: The Art of Documentation and   for Open Source Projects

Do I have curl installed?

What about mobile/iPad?

🤔

Page 40: The Art of Documentation and   for Open Source Projects

Users understand what your

product does, and experienced

the dream!

Page 41: The Art of Documentation and   for Open Source Projects

Stage 3: Onboarding

Page 42: The Art of Documentation and   for Open Source Projects

“Congratulations! I want to use

your product”

Page 43: The Art of Documentation and   for Open Source Projects

The best documentation is the

one we don’t have to write.

Page 44: The Art of Documentation and   for Open Source Projects

People don’t read on the internet

“He thinks he’s people!” (Archer)

Page 45: The Art of Documentation and   for Open Source Projects
Page 46: The Art of Documentation and   for Open Source Projects
Page 47: The Art of Documentation and   for Open Source Projects

Show/Hide Headers Button

Page 48: The Art of Documentation and   for Open Source Projects

https://beta.developer.spotify.com/documentation/web-playback-sdk/quick-start/#initializing-the-sdk

Page 49: The Art of Documentation and   for Open Source Projects

Hard to document === missing

developer UX?

Page 50: The Art of Documentation and   for Open Source Projects

Build tooling to help?

Kubeadm

Why write documentation when

you can automate it?

Page 51: The Art of Documentation and   for Open Source Projects

https://www.katacoda.com/courses/kubernetes/getting-started-with-kubeadm

Page 52: The Art of Documentation and   for Open Source Projects

Stage 4: Guidance and

Discovery

Page 53: The Art of Documentation and   for Open Source Projects

“Your product is solving my

problem. What other problems

can you solve?”

Page 54: The Art of Documentation and   for Open Source Projects
Page 55: The Art of Documentation and   for Open Source Projects
Page 56: The Art of Documentation and   for Open Source Projects
Page 57: The Art of Documentation and   for Open Source Projects
Page 58: The Art of Documentation and   for Open Source Projects
Page 59: The Art of Documentation and   for Open Source Projects
Page 60: The Art of Documentation and   for Open Source Projects
Page 61: The Art of Documentation and   for Open Source Projects
Page 62: The Art of Documentation and   for Open Source Projects
Page 63: The Art of Documentation and   for Open Source Projects
Page 64: The Art of Documentation and   for Open Source Projects
Page 65: The Art of Documentation and   for Open Source Projects

Stage 5: Reference

Page 66: The Art of Documentation and   for Open Source Projects

Becoming an expert…

Page 67: The Art of Documentation and   for Open Source Projects
Page 68: The Art of Documentation and   for Open Source Projects
Page 69: The Art of Documentation and   for Open Source Projects
Page 70: The Art of Documentation and   for Open Source Projects

Exploration Getting StartedOnBoarding/Problem

SolvingGuidance/Discovery Reference

Clear Project DefinitionInteractive

Demos/ExamplesLow barriers to

get startedTutorials/Guides

Long Form Reference

Page 71: The Art of Documentation and   for Open Source Projects

But what about Readme.md?

Page 72: The Art of Documentation and   for Open Source Projects
Page 73: The Art of Documentation and   for Open Source Projects

Sets the tone

Page 74: The Art of Documentation and   for Open Source Projects
Page 75: The Art of Documentation and   for Open Source Projects
Page 76: The Art of Documentation and   for Open Source Projects
Page 77: The Art of Documentation and   for Open Source Projects
Page 78: The Art of Documentation and   for Open Source Projects
Page 79: The Art of Documentation and   for Open Source Projects
Page 80: The Art of Documentation and   for Open Source Projects

<details>

<summary><b>Examples</b></summary>

<ul>

<li>

<a href="./examples/json-body-parsing">Parse JSON</a></li>

<li>

<a href="./examples/urlencoded-body-parsing">Parse urlencoded form

(html `form` tag)</a></li>

</ul>

</details>

Page 81: The Art of Documentation and   for Open Source Projects

Build it’s own community

Page 82: The Art of Documentation and   for Open Source Projects
Page 83: The Art of Documentation and   for Open Source Projects
Page 84: The Art of Documentation and   for Open Source Projects
Page 85: The Art of Documentation and   for Open Source Projects
Page 86: The Art of Documentation and   for Open Source Projects

Make it easy to provide feedback

Page 87: The Art of Documentation and   for Open Source Projects
Page 88: The Art of Documentation and   for Open Source Projects
Page 89: The Art of Documentation and   for Open Source Projects

Who creates the “best”

documentation?

Page 90: The Art of Documentation and   for Open Source Projects
Page 91: The Art of Documentation and   for Open Source Projects

https://betta.io/blog/2016/12/14/what-developer-experience-could-learn-from-lego/

Page 92: The Art of Documentation and   for Open Source Projects
Page 93: The Art of Documentation and   for Open Source Projects
Page 94: The Art of Documentation and   for Open Source Projects
Page 95: The Art of Documentation and   for Open Source Projects
Page 96: The Art of Documentation and   for Open Source Projects
Page 97: The Art of Documentation and   for Open Source Projects
Page 98: The Art of Documentation and   for Open Source Projects
Page 99: The Art of Documentation and   for Open Source Projects

@Ben_Hall

[email protected]

Blog.BenHall.me.uk

www.Katacoda.com