SlideShare une entreprise Scribd logo
1  sur  62
Télécharger pour lire hors ligne
Docs Like Code
Yu Liu
Technical Writer
Apache Pulsar & Apache Trafodion Committer
TOC
• Challenges of Open Source Project
• What is Docs Like Code?
• Case Study (Apache Pulsar)
• Benefits of Docs Like Code
• Thoughts
Common Release Process of Docs
Issues
• Docs are always ignored
• Docs are not synced with codes
• Docs are inaccurate because many 

layers between developers, writers, 

and reviewers
• Docs are incomplete due to long 

release cycle
• Writers can not get technical inputs 

since developers dislike writing docs

Why do
developers
dislike
documenting?
Issue
Real Issue
Project Management


- What developers dislike is the workflow.

Context-switch makes them reluctant to write 

and get docs done at the last minute.
- Do we have a solution that integrate the doc
process into a workflow which developers enjoy
and solve the problems mentioned previously?
Challenges of Open Source Project01
Standards of Google
• Season of Docs

• Foster open source collaboration 

with technical writers
Challenge
• Development ways

- Agile is popular

- Frequent code/doc changes

- Sync docs w/ code

- Multiple versions
Challenge
• Technology changes

- Open source project provide service via API

- Exponential growth of Rest API and SaaS 

- API docs are in urgent demand

- Accuracy matter in API doc

- Repetitive work
Challenge
• Communication (writer & dev)

- Increased communication 

- Ways of thinking and working

- Dev dislikes documenting

- Dev thinks code is much more important
What is Docs Like Code?02
Definition
• Docs are stored in a version control system (Git) 

- Sync doc w/ code 

- Resolve multiple version conflict
• Unified collaboration environment (GitHub, GitLab)

- Comprehensive ecosystem
Definition
• Plain text files (AsciiDoc, Markdown)

• Writing tools (VS Code, Eclipse, Sublime)

- Writer: easy to learn and use 

- Dev: familiar
- Integrate with other tools
Definition
• Contents are continuously tested, merged with each patch,
built, deployed, and published automatically

CI: Static site generator (Jekyll, Sphinx, Hugo) 

CD: Static site deployment tool (Jenkins, Netlify, CircleCI) 

- Reduce much repetitive and tedious work
Doc Sites Built Using Docs Like Code Users of Doc Like Code
• Stack Overflow Blog
• Bootstrap
• HealthCare.gov
• GitHub docs
• RethinkDB
• Cloud Canon
• Jekyllrb
• SendGrid
• Beegit
• Basket
• Wistia help center
• Liquid
• Atlassian Design
• devo.ps
Case Study on Apache Pulsar03
Time-Based Release Plan of Pulsar
Strictly ensure
that 

a release
happens on 

a given date
d d
Docs should be
published 

along with 

a new release
Docs can be
blockers 

for release
Docs are ready w/ codes in each release
Pulsar Doc Workflow
Benefits of Docs Like Code04
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
Reason
• Development teams perform continuous integration and deployment
automatically, docs work the same way.
• Docs can have tests to ensure quality, such as broken link tests,
white-space tests or spell checking.
• Docs can be published automatically after trusted reviewers merge
changes into the repository.
• Docs can use continuous builds to ensure that they build and
publish correctly.
Pulsar Rest API - Swagger
Pulsar Localization
• Docusaurus makes it
easy to use translation
functionality using
Crowdin.
• Pulsar Website Build
pulls down and uploads
translation for all Pulsar
docs automatically.
• Once it pulls down
translation from
Crowdin, it will build the
translation into the
website automatically.
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
Issue
• Sometimes, devs perceive that
writers are distant from the product,
and they consequently treat writers
like second-class citizens.
Thought
• The second product of a product is
Docs.
Solution
• Docs Like Code make writers use the same workflow
and tool as devs, which reduces communication
barriers and makes agile docs.
• Agile doc development drive writers to sync docs w/
codes and learn more.
• Writers can communicate w/ devs equally and even
have more broad views than devs on some aspects of
products.
GitHub
• Code and Doc
Workflow is same
Counts codes and docs contributions equally (commit)
• Dev and Writer
Same voting privilege and weight
Same opportunity to awarded as committer or PMC
All men are created equal
All professions
deserve equal respect
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
Users
• Users are one of the most
important authors of
Pulsar docs and they drive
community growth.
• GitHub and its
comprehensive ecosystem
provides highly-effective
communication platform.
Users
is the core user of Pulsar as well as a major contributor for Pulsar docs
GitHub 

Users
Slack
• Threaded conversations
help us for deep
discussions around a
specific topic without
clogging up the channel
with details.
• Deeply integrate with
GitHub, Jira, Twitter,
Zoom, Google Drive and
Calendar, and other tools.
Users
• Communicate with users directly and frequently
• Identify users’ pain points
• Foster empathy for users
• Stand in users' shoes
• Build quality technical info
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
Users
GitHub
• Not just a code hosting platform, it is a social network
• Contribution graphs:
encourage everyone to build a better online resume
show everyone's specialty and provide opportunity to cooperate with the best talent
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
Long-Tail Effect
Companies realize significant profits by
selling low volumes of hard-to-find items
to many customers, instead of only
selling large volumes of a reduced
number of popular items.
Long-Tail Effect in Docs
The niche or long tail docs are constructed from obscure knowledge gathering and
hard-to-find information.
Issue
• A single dev/writer/team can’t
know an entire software product.
• For a complex software products,
only a few people understand
deeply.
Thought
• Fight together
Open source project means everyone can:
• contribute
• use freely
Docs Like Code and its comprehensive
ecosystem:
• make effective collaboration across
distributed teams
• explore advantages of each role to the
greatest extent
Long-Tail Effect in OpenStack Doc Contributions
Solution
• Find specialists to collaborate with. If they
are motivated to write content for that
small, focused area of the product, those
technical details can make a huge
difference in the success of an
information product, especially one
targeted to developers.
• Split deliverables into parts that
encourage small but mighty contributions.
• Have more focus on contents
• Promote collaborations
Writer + Dev
Writer + User
All members
• Get long-tail contributions
• Track doc bugs like code bugs
• Obtain better reviews
• Make beautiful docs
• Use cost-effective tools
• Track doc bugs like code bug
When you give your readers a way to track doc issues, they can tell you
where they found confusing or incorrect content and even how to fix it.
• Obtain better reviews
Code system workflows encourage small changes that are easy to
compare, you can get more reviews.
When you treat docs like code, reviewers can see final changes in
context before approving them.
• Make beautiful docs
• Use cost-effective tools
Thoughts05
Pulsar live streaming (TGIP)
Docs Like Code
• Highly automated
• Efficient workflow
• Friendly cooperation
• Cost-effective tool
• The only thing that is constant is change.
• Docs Like Code is an innovation and integration
across boundaries in today's fast-paced world.
• Technical communicators should be proud of
who they are for having open-minded attitude
and embracing challenges.
Thank You

Contenu connexe

Tendances

Cloud streaming presentation
Cloud streaming presentationCloud streaming presentation
Cloud streaming presentation
edmandt
 
ApacheCon 2021 Apache Deep Learning 302
ApacheCon 2021   Apache Deep Learning 302ApacheCon 2021   Apache Deep Learning 302
ApacheCon 2021 Apache Deep Learning 302
Timothy Spann
 

Tendances (20)

Automation + dev ops summit hail hydrate! from stream to lake
Automation + dev ops summit   hail hydrate! from stream to lakeAutomation + dev ops summit   hail hydrate! from stream to lake
Automation + dev ops summit hail hydrate! from stream to lake
 
Osacon 2021 hello hydrate! from stream to clickhouse with apache pulsar and...
Osacon 2021   hello hydrate! from stream to clickhouse with apache pulsar and...Osacon 2021   hello hydrate! from stream to clickhouse with apache pulsar and...
Osacon 2021 hello hydrate! from stream to clickhouse with apache pulsar and...
 
Apache Pulsar Community-Jennifer
Apache Pulsar Community-JenniferApache Pulsar Community-Jennifer
Apache Pulsar Community-Jennifer
 
Matt Franklin - Apache Software (Geekfest)
Matt Franklin - Apache Software (Geekfest)Matt Franklin - Apache Software (Geekfest)
Matt Franklin - Apache Software (Geekfest)
 
Cloud streaming presentation
Cloud streaming presentationCloud streaming presentation
Cloud streaming presentation
 
Open keynote_carolyn&matteo&sijie
Open keynote_carolyn&matteo&sijieOpen keynote_carolyn&matteo&sijie
Open keynote_carolyn&matteo&sijie
 
Music city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lakeMusic city data Hail Hydrate! from stream to lake
Music city data Hail Hydrate! from stream to lake
 
DBCC 2021 - FLiP Stack for Cloud Data Lakes
DBCC 2021 - FLiP Stack for Cloud Data LakesDBCC 2021 - FLiP Stack for Cloud Data Lakes
DBCC 2021 - FLiP Stack for Cloud Data Lakes
 
Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021
Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021
Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021
 
Apache Pulsar: A borderless community
Apache Pulsar: A borderless communityApache Pulsar: A borderless community
Apache Pulsar: A borderless community
 
ApacheCon 2021 Apache Deep Learning 302
ApacheCon 2021   Apache Deep Learning 302ApacheCon 2021   Apache Deep Learning 302
ApacheCon 2021 Apache Deep Learning 302
 
Cos con19 about Pulsar (By Yu Liu)
Cos con19 about  Pulsar (By Yu Liu)Cos con19 about  Pulsar (By Yu Liu)
Cos con19 about Pulsar (By Yu Liu)
 
Data science online camp using the flipn stack for edge ai (flink, nifi, pu...
Data science online camp   using the flipn stack for edge ai (flink, nifi, pu...Data science online camp   using the flipn stack for edge ai (flink, nifi, pu...
Data science online camp using the flipn stack for edge ai (flink, nifi, pu...
 
Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...
Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...
Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...
 
Codeless pipelines with pulsar and flink
Codeless pipelines with pulsar and flinkCodeless pipelines with pulsar and flink
Codeless pipelines with pulsar and flink
 
Using the FLiPN stack for edge ai (flink, nifi, pulsar)
Using the FLiPN stack for edge ai (flink, nifi, pulsar)Using the FLiPN stack for edge ai (flink, nifi, pulsar)
Using the FLiPN stack for edge ai (flink, nifi, pulsar)
 
PortoTechHub - Hail Hydrate! From Stream to Lake with Apache Pulsar and Friends
PortoTechHub  - Hail Hydrate! From Stream to Lake with Apache Pulsar and FriendsPortoTechHub  - Hail Hydrate! From Stream to Lake with Apache Pulsar and Friends
PortoTechHub - Hail Hydrate! From Stream to Lake with Apache Pulsar and Friends
 
ApacheCon 2021: Cracking the nut with Apache Pulsar (FLiP)
ApacheCon 2021:  Cracking the nut with Apache Pulsar (FLiP)ApacheCon 2021:  Cracking the nut with Apache Pulsar (FLiP)
ApacheCon 2021: Cracking the nut with Apache Pulsar (FLiP)
 
Axway amplify api management platform
Axway amplify api management platformAxway amplify api management platform
Axway amplify api management platform
 
Streaming from the cloud
Streaming from the cloudStreaming from the cloud
Streaming from the cloud
 

Similaire à Code the docs-yu liu

Similaire à Code the docs-yu liu (20)

Docs Like Code
Docs Like CodeDocs Like Code
Docs Like Code
 
Docs Like Code: Strategies and Stories
Docs Like Code: Strategies and StoriesDocs Like Code: Strategies and Stories
Docs Like Code: Strategies and Stories
 
Docs as Part of the Product - Open Source Summit North America 2018
Docs as Part of the Product - Open Source Summit North America 2018Docs as Part of the Product - Open Source Summit North America 2018
Docs as Part of the Product - Open Source Summit North America 2018
 
Design thinking: Building a developer experience from scratch
Design thinking: Building a developer experience from scratchDesign thinking: Building a developer experience from scratch
Design thinking: Building a developer experience from scratch
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
Git and GitHub for Documentation
Git and GitHub for DocumentationGit and GitHub for Documentation
Git and GitHub for Documentation
 
Guidelines for Working with Contract Developers in Evergreen
Guidelines for Working with Contract Developers in EvergreenGuidelines for Working with Contract Developers in Evergreen
Guidelines for Working with Contract Developers in Evergreen
 
Lois Patterson: Markup Languages and Warp-Speed Documentation
Lois Patterson:  Markup Languages and Warp-Speed DocumentationLois Patterson:  Markup Languages and Warp-Speed Documentation
Lois Patterson: Markup Languages and Warp-Speed Documentation
 
Markup languages and warp-speed documentation
Markup languages and warp-speed documentationMarkup languages and warp-speed documentation
Markup languages and warp-speed documentation
 
OpenStack Documentation in the Open
OpenStack Documentation in the OpenOpenStack Documentation in the Open
OpenStack Documentation in the Open
 
Guide to open source
Guide to open source Guide to open source
Guide to open source
 
7 Apache Process Cloudstack Developer Day
7 Apache Process Cloudstack Developer Day7 Apache Process Cloudstack Developer Day
7 Apache Process Cloudstack Developer Day
 
DevOps Friendly Doc Publishing for APIs & Microservices
DevOps Friendly Doc Publishing for APIs & MicroservicesDevOps Friendly Doc Publishing for APIs & Microservices
DevOps Friendly Doc Publishing for APIs & Microservices
 
Design Systems at Scale
Design Systems at ScaleDesign Systems at Scale
Design Systems at Scale
 
Get A Head on Your Repository
Get A Head on Your RepositoryGet A Head on Your Repository
Get A Head on Your Repository
 
The Atlassian Tool Suite for Collaborative Science
The Atlassian Tool Suite for Collaborative ScienceThe Atlassian Tool Suite for Collaborative Science
The Atlassian Tool Suite for Collaborative Science
 
Brainstorming Creative Uses of iOS 8 Extensions / CocoaConf Columbus 2014
Brainstorming Creative Uses of iOS 8 Extensions / CocoaConf Columbus 2014Brainstorming Creative Uses of iOS 8 Extensions / CocoaConf Columbus 2014
Brainstorming Creative Uses of iOS 8 Extensions / CocoaConf Columbus 2014
 
Suguk Southampton CodePlex - March 2014
Suguk Southampton   CodePlex - March 2014Suguk Southampton   CodePlex - March 2014
Suguk Southampton CodePlex - March 2014
 
The Power of Azure DevOps
The Power of Azure DevOpsThe Power of Azure DevOps
The Power of Azure DevOps
 
Welcome to Azure DevOps
Welcome to Azure DevOpsWelcome to Azure DevOps
Welcome to Azure DevOps
 

Plus de StreamNative

Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
StreamNative
 

Plus de StreamNative (20)

Is Using KoP (Kafka-on-Pulsar) a Good Idea? - Pulsar Summit SF 2022
Is Using KoP (Kafka-on-Pulsar) a Good Idea? - Pulsar Summit SF 2022Is Using KoP (Kafka-on-Pulsar) a Good Idea? - Pulsar Summit SF 2022
Is Using KoP (Kafka-on-Pulsar) a Good Idea? - Pulsar Summit SF 2022
 
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
 
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
Blue-green deploys with Pulsar & Envoy in an event-driven microservice ecosys...
 
Distributed Database Design Decisions to Support High Performance Event Strea...
Distributed Database Design Decisions to Support High Performance Event Strea...Distributed Database Design Decisions to Support High Performance Event Strea...
Distributed Database Design Decisions to Support High Performance Event Strea...
 
Simplify Pulsar Functions Development with SQL - Pulsar Summit SF 2022
Simplify Pulsar Functions Development with SQL - Pulsar Summit SF 2022Simplify Pulsar Functions Development with SQL - Pulsar Summit SF 2022
Simplify Pulsar Functions Development with SQL - Pulsar Summit SF 2022
 
Towards a ZooKeeper-less Pulsar, etcd, etcd, etcd. - Pulsar Summit SF 2022
Towards a ZooKeeper-less Pulsar, etcd, etcd, etcd. - Pulsar Summit SF 2022Towards a ZooKeeper-less Pulsar, etcd, etcd, etcd. - Pulsar Summit SF 2022
Towards a ZooKeeper-less Pulsar, etcd, etcd, etcd. - Pulsar Summit SF 2022
 
Validating Apache Pulsar’s Behavior under Failure Conditions - Pulsar Summit ...
Validating Apache Pulsar’s Behavior under Failure Conditions - Pulsar Summit ...Validating Apache Pulsar’s Behavior under Failure Conditions - Pulsar Summit ...
Validating Apache Pulsar’s Behavior under Failure Conditions - Pulsar Summit ...
 
Cross the Streams! Creating Streaming Data Pipelines with Apache Flink + Apac...
Cross the Streams! Creating Streaming Data Pipelines with Apache Flink + Apac...Cross the Streams! Creating Streaming Data Pipelines with Apache Flink + Apac...
Cross the Streams! Creating Streaming Data Pipelines with Apache Flink + Apac...
 
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
Message Redelivery: An Unexpected Journey - Pulsar Summit SF 2022
 
Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...
Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...
Unlocking the Power of Lakehouse Architectures with Apache Pulsar and Apache ...
 
Understanding Broker Load Balancing - Pulsar Summit SF 2022
Understanding Broker Load Balancing - Pulsar Summit SF 2022Understanding Broker Load Balancing - Pulsar Summit SF 2022
Understanding Broker Load Balancing - Pulsar Summit SF 2022
 
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
Building an Asynchronous Application Framework with Python and Pulsar - Pulsa...
 
Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
Pulsar's Journey in Yahoo!: On-prem, Cloud and Hybrid - Pulsar Summit SF 2022
 
Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022Event-Driven Applications Done Right - Pulsar Summit SF 2022
Event-Driven Applications Done Right - Pulsar Summit SF 2022
 
Pulsar @ Scale. 200M RPM and 1K instances - Pulsar Summit SF 2022
Pulsar @ Scale. 200M RPM and 1K instances - Pulsar Summit SF 2022Pulsar @ Scale. 200M RPM and 1K instances - Pulsar Summit SF 2022
Pulsar @ Scale. 200M RPM and 1K instances - Pulsar Summit SF 2022
 
Data Democracy: Journey to User-Facing Analytics - Pulsar Summit SF 2022
Data Democracy: Journey to User-Facing Analytics - Pulsar Summit SF 2022Data Democracy: Journey to User-Facing Analytics - Pulsar Summit SF 2022
Data Democracy: Journey to User-Facing Analytics - Pulsar Summit SF 2022
 
Beam + Pulsar: Powerful Stream Processing at Scale - Pulsar Summit SF 2022
Beam + Pulsar: Powerful Stream Processing at Scale - Pulsar Summit SF 2022Beam + Pulsar: Powerful Stream Processing at Scale - Pulsar Summit SF 2022
Beam + Pulsar: Powerful Stream Processing at Scale - Pulsar Summit SF 2022
 
Welcome and Opening Remarks - Pulsar Summit SF 2022
Welcome and Opening Remarks - Pulsar Summit SF 2022Welcome and Opening Remarks - Pulsar Summit SF 2022
Welcome and Opening Remarks - Pulsar Summit SF 2022
 
Log System As Backbone – How We Built the World’s Most Advanced Vector Databa...
Log System As Backbone – How We Built the World’s Most Advanced Vector Databa...Log System As Backbone – How We Built the World’s Most Advanced Vector Databa...
Log System As Backbone – How We Built the World’s Most Advanced Vector Databa...
 
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
MoP(MQTT on Pulsar) - a Powerful Tool for Apache Pulsar in IoT - Pulsar Summi...
 

Dernier

Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
amitlee9823
 

Dernier (20)

Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night StandCall Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Doddaballapur Road ☎ 7737669865 🥵 Book Your One night Stand
 
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men  🔝Bangalore🔝   Esc...
➥🔝 7737669865 🔝▻ Bangalore Call-girls in Women Seeking Men 🔝Bangalore🔝 Esc...
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men  🔝Thrissur🔝   Escor...
➥🔝 7737669865 🔝▻ Thrissur Call-girls in Women Seeking Men 🔝Thrissur🔝 Escor...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24  Building Real-Time Pipelines With FLaNKDATA SUMMIT 24  Building Real-Time Pipelines With FLaNK
DATA SUMMIT 24 Building Real-Time Pipelines With FLaNK
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 

Code the docs-yu liu

  • 1. Docs Like Code Yu Liu Technical Writer Apache Pulsar & Apache Trafodion Committer
  • 2. TOC • Challenges of Open Source Project • What is Docs Like Code? • Case Study (Apache Pulsar) • Benefits of Docs Like Code • Thoughts
  • 4. Issues • Docs are always ignored • Docs are not synced with codes • Docs are inaccurate because many 
 layers between developers, writers, 
 and reviewers • Docs are incomplete due to long 
 release cycle • Writers can not get technical inputs 
 since developers dislike writing docs

  • 6. Real Issue Project Management 
 - What developers dislike is the workflow.
 Context-switch makes them reluctant to write 
 and get docs done at the last minute. - Do we have a solution that integrate the doc process into a workflow which developers enjoy and solve the problems mentioned previously?
  • 7. Challenges of Open Source Project01
  • 8. Standards of Google • Season of Docs • Foster open source collaboration 
 with technical writers
  • 9. Challenge • Development ways - Agile is popular - Frequent code/doc changes - Sync docs w/ code - Multiple versions
  • 10. Challenge • Technology changes - Open source project provide service via API - Exponential growth of Rest API and SaaS - API docs are in urgent demand - Accuracy matter in API doc - Repetitive work
  • 11. Challenge • Communication (writer & dev) - Increased communication - Ways of thinking and working - Dev dislikes documenting - Dev thinks code is much more important
  • 12. What is Docs Like Code?02
  • 13. Definition • Docs are stored in a version control system (Git) - Sync doc w/ code - Resolve multiple version conflict • Unified collaboration environment (GitHub, GitLab) - Comprehensive ecosystem
  • 14. Definition • Plain text files (AsciiDoc, Markdown) • Writing tools (VS Code, Eclipse, Sublime) - Writer: easy to learn and use - Dev: familiar - Integrate with other tools
  • 15. Definition • Contents are continuously tested, merged with each patch, built, deployed, and published automatically CI: Static site generator (Jekyll, Sphinx, Hugo) CD: Static site deployment tool (Jenkins, Netlify, CircleCI) - Reduce much repetitive and tedious work
  • 16. Doc Sites Built Using Docs Like Code Users of Doc Like Code • Stack Overflow Blog • Bootstrap • HealthCare.gov • GitHub docs • RethinkDB • Cloud Canon • Jekyllrb • SendGrid • Beegit • Basket • Wistia help center • Liquid • Atlassian Design • devo.ps
  • 17. Case Study on Apache Pulsar03
  • 18.
  • 19. Time-Based Release Plan of Pulsar Strictly ensure that 
 a release happens on 
 a given date d d Docs should be published 
 along with 
 a new release Docs can be blockers 
 for release
  • 20. Docs are ready w/ codes in each release
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. Benefits of Docs Like Code04
  • 30. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 31. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 32. Reason • Development teams perform continuous integration and deployment automatically, docs work the same way. • Docs can have tests to ensure quality, such as broken link tests, white-space tests or spell checking. • Docs can be published automatically after trusted reviewers merge changes into the repository. • Docs can use continuous builds to ensure that they build and publish correctly.
  • 33. Pulsar Rest API - Swagger
  • 34. Pulsar Localization • Docusaurus makes it easy to use translation functionality using Crowdin. • Pulsar Website Build pulls down and uploads translation for all Pulsar docs automatically. • Once it pulls down translation from Crowdin, it will build the translation into the website automatically.
  • 35. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 36.
  • 37. Issue • Sometimes, devs perceive that writers are distant from the product, and they consequently treat writers like second-class citizens. Thought • The second product of a product is Docs.
  • 38. Solution • Docs Like Code make writers use the same workflow and tool as devs, which reduces communication barriers and makes agile docs. • Agile doc development drive writers to sync docs w/ codes and learn more. • Writers can communicate w/ devs equally and even have more broad views than devs on some aspects of products.
  • 39. GitHub • Code and Doc Workflow is same Counts codes and docs contributions equally (commit) • Dev and Writer Same voting privilege and weight Same opportunity to awarded as committer or PMC
  • 40. All men are created equal All professions deserve equal respect
  • 41. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 42.
  • 43. Users • Users are one of the most important authors of Pulsar docs and they drive community growth. • GitHub and its comprehensive ecosystem provides highly-effective communication platform.
  • 44. Users is the core user of Pulsar as well as a major contributor for Pulsar docs GitHub 

  • 45. Users Slack • Threaded conversations help us for deep discussions around a specific topic without clogging up the channel with details. • Deeply integrate with GitHub, Jira, Twitter, Zoom, Google Drive and Calendar, and other tools.
  • 46. Users • Communicate with users directly and frequently • Identify users’ pain points • Foster empathy for users • Stand in users' shoes • Build quality technical info
  • 47. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 48. Users GitHub • Not just a code hosting platform, it is a social network • Contribution graphs: encourage everyone to build a better online resume show everyone's specialty and provide opportunity to cooperate with the best talent
  • 49. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 50. Long-Tail Effect Companies realize significant profits by selling low volumes of hard-to-find items to many customers, instead of only selling large volumes of a reduced number of popular items.
  • 51. Long-Tail Effect in Docs The niche or long tail docs are constructed from obscure knowledge gathering and hard-to-find information.
  • 52. Issue • A single dev/writer/team can’t know an entire software product. • For a complex software products, only a few people understand deeply. Thought • Fight together
  • 53. Open source project means everyone can: • contribute • use freely Docs Like Code and its comprehensive ecosystem: • make effective collaboration across distributed teams • explore advantages of each role to the greatest extent
  • 54. Long-Tail Effect in OpenStack Doc Contributions
  • 55. Solution • Find specialists to collaborate with. If they are motivated to write content for that small, focused area of the product, those technical details can make a huge difference in the success of an information product, especially one targeted to developers. • Split deliverables into parts that encourage small but mighty contributions.
  • 56. • Have more focus on contents • Promote collaborations Writer + Dev Writer + User All members • Get long-tail contributions • Track doc bugs like code bugs • Obtain better reviews • Make beautiful docs • Use cost-effective tools
  • 57. • Track doc bugs like code bug When you give your readers a way to track doc issues, they can tell you where they found confusing or incorrect content and even how to fix it. • Obtain better reviews Code system workflows encourage small changes that are easy to compare, you can get more reviews. When you treat docs like code, reviewers can see final changes in context before approving them. • Make beautiful docs • Use cost-effective tools
  • 60. Docs Like Code • Highly automated • Efficient workflow • Friendly cooperation • Cost-effective tool
  • 61. • The only thing that is constant is change. • Docs Like Code is an innovation and integration across boundaries in today's fast-paced world. • Technical communicators should be proud of who they are for having open-minded attitude and embracing challenges.