SlideShare ist ein Scribd-Unternehmen logo
1 von 39
Downloaden Sie, um offline zu lesen
COLLABORATING ON GIT AND GITHUB
Anne Gentle
FOR DOCUMENTATION
Questions at the end, but you
can always ask me anything:
documenting 20 cloud services
across 130 GitHub repositories
with 728 contributors in 4 years
@annegentle, #CIDMOnline
anne.gentle@rackspace.com
www.justwriteclick.com
GIT AND GITHUB
• 2005 born after spectacular Linux tooling failure
• Social web, leads to social coding
• Git is for command line, GitHub is the web interface
• Cross-platform tooling - Windows, Mac, Linux
• Merge files rather than a “lock and checkout” model
• Non-linear branching model
GITHUB VOCABULARY
Repository
Collection of stored
code
Organization
Collection of
repositories
Fork
Copy repository, copy
of repository
Issue
Defects, tasks, or
feature requests
Pull Request
Comparison of edits to
see if team wants to
accept changes
Commit
Point in time snapshot
of repository with
changes
Branch
Indicator of divergence
from base
• Command line tool
• Only place for all the
commands
GIT
• Web interface for git 

repositories
• http://github.com
• Comments, reviews, emojis
GITHUB
LET’S TALK ABOUT

PAIN POINTS
“Meet the deadline.”
“What can we get rid of before the
deadline? I know…”
“Let’s do Agile, but…”
“Devs rule - docs drool.”
flickr:cobalt123
WRITING IN
ISOLATION
flickr:mtischendorf
COLLABORATE
WHERE
USERS ARE
• Curate the audience
• Write with and for the audience
• Reward the audience
I NEED A WRITER
1. Sacrifice your first-born for headcount
and job description.
2. Come up with a pay scale.
3. Get a handful of resumes that don’t
meet the requirements.
4. Cry.
flickr:eclecticechoes
Ensure that contributors are
valued and rewarded!
• Sense of belonging
• Pay it forward (reciprocity)
• Effective, time-saving, user support
• Reputation, recruiting
MOTIVATIONS
flickr:seeminglee
LET’S CURATE
Authors
Processes
Tools
Mindsets
Attitudes
Jobs
flickr:roswellsgirl
TREAT DOCS
LIKE CODE
flickr:roswellsgirl
LONGTAIL
CONTRIBUTIONS
• Rise of the niche
• Finding like-minded people
interested in your content
• Dark corners of knowledge gap
are filled with docs
THE DOCS SUCK
In what way?
Which page?
How can I get it not to suck?
flickr:heidiandmatt
DOC ISSUES TRACKING
• Tasks, outright errors, and
feature requests
• I’ll triage the issue and guide
you in fixing it, issue reporter
• https://guides.github.com/
features/issues/
WRITERS NEVER
GET REVIEWS
Documentation system so separate
from code system that technical
reviews are through email
or
*gasp*
frozen-in-time PDF files
flickr:elkaypics
REVIEWERS FIX DOCS
“This is wrong, here’s how to fix it.”
• Working in the same
collaboration tools as technical
people gives better reviews
• We can merge as many as 50
patches per day; running four
automated tests per patch and
requiring two humans to check
the patch and click in order to
publish
UNFAIR
TREATMENT
Docs ghetto
flickr:mtischendorf
VALUE
PROPOSITION
Writer contributions, when
treated like code, are valued
equally with developer code
WHITE COAT
TOOLS
Closely guarded secrets of
proprietary toolchains with
expensive per-seat licenses.
or
Secret developer workflows
are mysterious to writers.
flickr:darthnick
BEAUTIFUL
DOCS
• Widely accepted tooling built
in the open so we make it
work for us and for devs
(readthedocs.org)
• Simple markup
• Flat file builds
• We can patch and log issues
against the tooling
ONLY DEV TEAMS
GET CI/CD
Deploying containers and micro
services oh my.
Docs, use some horrifyingly slow
proprietary tool, kthnxbai.
flickr: photohome_uk
CI/CD FOR ALL
• Docs can be published automatically after
reviewers merge them
• Docs can have simple tests to ensure
quality and that you “don’t break the build.”
• Scrape the code to build more helpful docs
(especially reference)
• https://opensource.com/business/15/7/
continuous-integration-and-continuous-
delivery-documentation
flickr:pedrovezini
DRAFTS FOR REVIEWS
• Static site generation
from a branch or fork
• Enables publishing both
drafts and final output
flickr:denverjeffrey
WHAT PAIRS WELL WITH GITHUB?
• Simple markup: Markdown, Middleman, RST
• GitHub Pages: http://pages.github.com
• Static site generators: https://staticsitegenerators.net/
• Well-documented style guide and contributor guide
• Open licensing: Creative Commons
• PenFlip is “GitHub for Writers”
• Borrowing development techniques
WHO USES GIT AND
GITHUB FOR WRITING?
• O’Reilly Media for book publishing
• GitHub uses GitHub to document GitHub
• OpenStack uses open source Git
• Rackspace Cloud documentation uses GitHub
WHAT ARE SOME
DIFFICULTIES?
• Scope and scale questions
• Official-ness
• Identity
• Naming
flickr:lamont_cranston
GITHUB BENEFITS
• Collaborate where users are
• Motivate more contributors; track and reward contributions
• Version control; release management; CI/CD
• Track issues for distributed assignments and improved quality
• Create a quality bar for entry
• Enable fine-grained reviews and attract more reviewers
• Automate tedious tasks
• Coach writing skills and build better writers out of subject matter experts
• Review incoming contributions; establish specialty teams for reviews
• Build reputation and street credibility with metrics
flickr:lnx
DISTRIBUTED
ASSIGNMENTS
You shall not pass…
• test style guide
• test syntax
• test build
QUALITY GATE
flickr:davebloggs007
END THE TEDIUM
ENABLE THE ROBOTS
• Build the docs and publish them to
drafts or staging area
• Docs are always available for
reviews
flickr:hddod
COACH BETTER 

WRITING
• Become the experts and
consultants while enabling
others to improve their writing
• The people with the
knowledge can become better
writers and learn more
empathy by writing for the
users
flickr: philgaldys
CREATE TEAMS
• We now divide the work by
deliverable: user guides,
install guides, configuration
guides
• We scrape the code as
often as we can to deliver
continuously
flickr:mortimer
BUILD A
REPUTATION
• Measure quality and
quantity
• Count contributions
and improvements
• Compare over time;
benchmark and reward
flickr:turbojoe
“We’re crazy, but we’re
writing a book in five days.”
- Anne Gentle
https://www.youtube.com/
watch?v=lYfHEy6E2n0
Ask me. Challenge me. Find out.
flickr:candelabrumdanse
The hope “that deficiencies in program specifications
could be made up by the skill of a technical writing
department… was misguided; the design of a
program and the design of its specification must be
undertaken in parallel by the same person, and they
must interact with each other.”
- C.A.R. Hoare, 1980
flickr:roswellsgirl
Git and GitHub for Documentation

Weitere ähnliche Inhalte

Was ist angesagt?

Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Simplilearn
 

Was ist angesagt? (20)

Github - Git Training Slides: Foundations
Github - Git Training Slides: FoundationsGithub - Git Training Slides: Foundations
Github - Git Training Slides: Foundations
 
Git and github 101
Git and github 101Git and github 101
Git and github 101
 
Git 101 for Beginners
Git 101 for Beginners Git 101 for Beginners
Git 101 for Beginners
 
Git and Github slides.pdf
Git and Github slides.pdfGit and Github slides.pdf
Git and Github slides.pdf
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Git basic
Git basicGit basic
Git basic
 
Git Introduction Tutorial
Git Introduction TutorialGit Introduction Tutorial
Git Introduction Tutorial
 
Git n git hub
Git n git hubGit n git hub
Git n git hub
 
Git
GitGit
Git
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Git for beginners
Git for beginnersGit for beginners
Git for beginners
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
 
Git One Day Training Notes
Git One Day Training NotesGit One Day Training Notes
Git One Day Training Notes
 
Introduction to GitHub
Introduction to GitHubIntroduction to GitHub
Introduction to GitHub
 
Git - An Introduction
Git - An IntroductionGit - An Introduction
Git - An Introduction
 
Git slides
Git slidesGit slides
Git slides
 
Git training v10
Git training v10Git training v10
Git training v10
 
Git commands
Git commandsGit commands
Git commands
 

Andere mochten auch

Master Continuous Delivery with CloudBees Jenkins Platform
Master Continuous Delivery with CloudBees Jenkins PlatformMaster Continuous Delivery with CloudBees Jenkins Platform
Master Continuous Delivery with CloudBees Jenkins Platform
dcjuengst
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
Docker, Inc.
 

Andere mochten auch (17)

Git 101: Git and GitHub for Beginners
Git 101: Git and GitHub for Beginners Git 101: Git and GitHub for Beginners
Git 101: Git and GitHub for Beginners
 
Bamboo - an introduction
Bamboo - an introductionBamboo - an introduction
Bamboo - an introduction
 
Using Docker for Testing
Using Docker for TestingUsing Docker for Testing
Using Docker for Testing
 
Master Continuous Delivery with CloudBees Jenkins Platform
Master Continuous Delivery with CloudBees Jenkins PlatformMaster Continuous Delivery with CloudBees Jenkins Platform
Master Continuous Delivery with CloudBees Jenkins Platform
 
Gitlab Training with GIT and SourceTree
Gitlab Training with GIT and SourceTreeGitlab Training with GIT and SourceTree
Gitlab Training with GIT and SourceTree
 
Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)Continuous Delivery with Jenkins and Wildfly (2014)
Continuous Delivery with Jenkins and Wildfly (2014)
 
Rise of the Machines - Automate your Development
Rise of the Machines - Automate your DevelopmentRise of the Machines - Automate your Development
Rise of the Machines - Automate your Development
 
Dockercon2015 bamboo
Dockercon2015 bambooDockercon2015 bamboo
Dockercon2015 bamboo
 
Ic maven jenkins_sonar
Ic maven jenkins_sonarIc maven jenkins_sonar
Ic maven jenkins_sonar
 
Game of Codes: the Battle for CI
Game of Codes: the Battle for CIGame of Codes: the Battle for CI
Game of Codes: the Battle for CI
 
GitFlow, SourceTree and GitLab
GitFlow, SourceTree and GitLabGitFlow, SourceTree and GitLab
GitFlow, SourceTree and GitLab
 
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and ComposeDockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
DockerCon EU 2015: Continuous Integration with Jenkins, Docker and Compose
 
Getting started with Jenkins
Getting started with JenkinsGetting started with Jenkins
Getting started with Jenkins
 
Jenkins Docker
Jenkins DockerJenkins Docker
Jenkins Docker
 
DevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for DockerDevOps and Continuous Delivery reference architectures for Docker
DevOps and Continuous Delivery reference architectures for Docker
 
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
Seven Habits of Highly Effective Jenkins Users (2014 edition!)Seven Habits of Highly Effective Jenkins Users (2014 edition!)
Seven Habits of Highly Effective Jenkins Users (2014 edition!)
 
Speaking part 3
Speaking part 3Speaking part 3
Speaking part 3
 

Ähnlich wie Git and GitHub for Documentation

[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code
Christopher Schmitt
 
O'Leary - Using GitHub for Enterprise and Open Source Documentation
O'Leary - Using GitHub for Enterprise and Open Source DocumentationO'Leary - Using GitHub for Enterprise and Open Source Documentation
O'Leary - Using GitHub for Enterprise and Open Source Documentation
LavaCon
 

Ähnlich wie Git and GitHub for Documentation (20)

Docs Like Code: Strategies and Stories
Docs Like Code: Strategies and StoriesDocs Like Code: Strategies and Stories
Docs Like Code: Strategies and Stories
 
Docs Like Code
Docs Like CodeDocs Like Code
Docs Like Code
 
Code the docs-yu liu
Code the docs-yu liuCode the docs-yu liu
Code the docs-yu liu
 
[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code[artifactconf] Github for People Who Don't Code
[artifactconf] Github for People Who Don't Code
 
Collaborating on GitHub for Open Source Documentation
Collaborating on GitHub for Open Source DocumentationCollaborating on GitHub for Open Source Documentation
Collaborating on GitHub for Open Source Documentation
 
O'Leary - Using GitHub for Enterprise and Open Source Documentation
O'Leary - Using GitHub for Enterprise and Open Source DocumentationO'Leary - Using GitHub for Enterprise and Open Source Documentation
O'Leary - Using GitHub for Enterprise and Open Source Documentation
 
Collaborating on GitHub for Open Source Documentation
Collaborating on GitHub for Open Source DocumentationCollaborating on GitHub for Open Source Documentation
Collaborating on GitHub for Open Source Documentation
 
Que nos espera a los ALM Dudes para el 2013?
Que nos espera a los ALM Dudes para el 2013?Que nos espera a los ALM Dudes para el 2013?
Que nos espera a los ALM Dudes para el 2013?
 
PR workflow
PR workflowPR workflow
PR workflow
 
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
If your code could speak, what would it tell you? Let GitHub Copilot Chat hel...
 
Ruby in office time reboot
Ruby in office time rebootRuby in office time reboot
Ruby in office time reboot
 
Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIs
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
 
Beyond Domino Designer
Beyond Domino DesignerBeyond Domino Designer
Beyond Domino Designer
 
Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...
 
Managing changes to eZPublish Database
Managing changes to eZPublish DatabaseManaging changes to eZPublish Database
Managing changes to eZPublish Database
 
Docs at Weaveworks: DX from open source to SaaS and beyond
Docs at Weaveworks: DX from open source to SaaS and beyondDocs at Weaveworks: DX from open source to SaaS and beyond
Docs at Weaveworks: DX from open source to SaaS and beyond
 
How to audit Drupal Sites for performance, content and best practices
How to audit Drupal Sites for performance, content and best practicesHow to audit Drupal Sites for performance, content and best practices
How to audit Drupal Sites for performance, content and best practices
 
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
 
Development Processes and Tooling
Development Processes and ToolingDevelopment Processes and Tooling
Development Processes and Tooling
 

Mehr von Anne Gentle

Mehr von Anne Gentle (20)

Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and ConfigurationsInclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
 
Docs as Code: Publishing Processes for API Experiences
Docs as Code: Publishing Processes for API ExperiencesDocs as Code: Publishing Processes for API Experiences
Docs as Code: Publishing Processes for API Experiences
 
Make an Instant Website with Webhooks
Make an Instant Website with WebhooksMake an Instant Website with Webhooks
Make an Instant Website with Webhooks
 
Deploying Apps on OpenStack
Deploying Apps on OpenStackDeploying Apps on OpenStack
Deploying Apps on OpenStack
 
Journey into Continuous Glucose Monitoring Technology as a Parent
Journey into Continuous Glucose Monitoring Technology as a ParentJourney into Continuous Glucose Monitoring Technology as a Parent
Journey into Continuous Glucose Monitoring Technology as a Parent
 
Writing a Technical Talk Proposal
Writing a Technical Talk ProposalWriting a Technical Talk Proposal
Writing a Technical Talk Proposal
 
Women in tech: Be that light
Women in tech: Be that lightWomen in tech: Be that light
Women in tech: Be that light
 
You'll Never Look at Developer Support the Same Way Again
You'll Never Look at Developer Support the Same Way AgainYou'll Never Look at Developer Support the Same Way Again
You'll Never Look at Developer Support the Same Way Again
 
So You Want to be an OpenStack Contributor
So You Want to be an OpenStack ContributorSo You Want to be an OpenStack Contributor
So You Want to be an OpenStack Contributor
 
OpenStack Doc Overview for Boot Camp
OpenStack Doc Overview for Boot CampOpenStack Doc Overview for Boot Camp
OpenStack Doc Overview for Boot Camp
 
Social Media, Social Networking, and Social Relevance in Tech Comm
Social Media, Social Networking, and Social Relevance in Tech CommSocial Media, Social Networking, and Social Relevance in Tech Comm
Social Media, Social Networking, and Social Relevance in Tech Comm
 
OpenStack How To - PyLadies ATX
OpenStack How To - PyLadies ATXOpenStack How To - PyLadies ATX
OpenStack How To - PyLadies ATX
 
Women of OpenStack breakfast welcome
Women of OpenStack breakfast welcomeWomen of OpenStack breakfast welcome
Women of OpenStack breakfast welcome
 
Social web for Tech Comm, STC March 2013
Social web for Tech Comm, STC March 2013Social web for Tech Comm, STC March 2013
Social web for Tech Comm, STC March 2013
 
OpenStack documentation & translation management 2012_summit
OpenStack documentation & translation management 2012_summitOpenStack documentation & translation management 2012_summit
OpenStack documentation & translation management 2012_summit
 
OpenStack Documentation in the Open
OpenStack Documentation in the OpenOpenStack Documentation in the Open
OpenStack Documentation in the Open
 
OpenStack Documentation Projects and Processes
OpenStack Documentation Projects and ProcessesOpenStack Documentation Projects and Processes
OpenStack Documentation Projects and Processes
 
TryStack: A Sandbox for OpenStack Users and Admins
TryStack: A Sandbox for OpenStack Users and AdminsTryStack: A Sandbox for OpenStack Users and Admins
TryStack: A Sandbox for OpenStack Users and Admins
 
Sprints and Stacks
Sprints and StacksSprints and Stacks
Sprints and Stacks
 
OpenStack Overview for Austin Cloud User Group
OpenStack Overview for Austin Cloud User GroupOpenStack Overview for Austin Cloud User Group
OpenStack Overview for Austin Cloud User Group
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 

Git and GitHub for Documentation

  • 1. COLLABORATING ON GIT AND GITHUB Anne Gentle FOR DOCUMENTATION
  • 2. Questions at the end, but you can always ask me anything: documenting 20 cloud services across 130 GitHub repositories with 728 contributors in 4 years @annegentle, #CIDMOnline anne.gentle@rackspace.com www.justwriteclick.com
  • 3. GIT AND GITHUB • 2005 born after spectacular Linux tooling failure • Social web, leads to social coding • Git is for command line, GitHub is the web interface • Cross-platform tooling - Windows, Mac, Linux • Merge files rather than a “lock and checkout” model • Non-linear branching model
  • 4. GITHUB VOCABULARY Repository Collection of stored code Organization Collection of repositories Fork Copy repository, copy of repository Issue Defects, tasks, or feature requests Pull Request Comparison of edits to see if team wants to accept changes Commit Point in time snapshot of repository with changes Branch Indicator of divergence from base
  • 5. • Command line tool • Only place for all the commands GIT
  • 6. • Web interface for git 
 repositories • http://github.com • Comments, reviews, emojis GITHUB
  • 7. LET’S TALK ABOUT
 PAIN POINTS “Meet the deadline.” “What can we get rid of before the deadline? I know…” “Let’s do Agile, but…” “Devs rule - docs drool.” flickr:cobalt123
  • 9. COLLABORATE WHERE USERS ARE • Curate the audience • Write with and for the audience • Reward the audience
  • 10. I NEED A WRITER 1. Sacrifice your first-born for headcount and job description. 2. Come up with a pay scale. 3. Get a handful of resumes that don’t meet the requirements. 4. Cry. flickr:eclecticechoes
  • 11. Ensure that contributors are valued and rewarded! • Sense of belonging • Pay it forward (reciprocity) • Effective, time-saving, user support • Reputation, recruiting MOTIVATIONS flickr:seeminglee
  • 14. LONGTAIL CONTRIBUTIONS • Rise of the niche • Finding like-minded people interested in your content • Dark corners of knowledge gap are filled with docs
  • 15. THE DOCS SUCK In what way? Which page? How can I get it not to suck? flickr:heidiandmatt
  • 16. DOC ISSUES TRACKING • Tasks, outright errors, and feature requests • I’ll triage the issue and guide you in fixing it, issue reporter • https://guides.github.com/ features/issues/
  • 17. WRITERS NEVER GET REVIEWS Documentation system so separate from code system that technical reviews are through email or *gasp* frozen-in-time PDF files flickr:elkaypics
  • 18. REVIEWERS FIX DOCS “This is wrong, here’s how to fix it.” • Working in the same collaboration tools as technical people gives better reviews • We can merge as many as 50 patches per day; running four automated tests per patch and requiring two humans to check the patch and click in order to publish
  • 20. VALUE PROPOSITION Writer contributions, when treated like code, are valued equally with developer code
  • 21. WHITE COAT TOOLS Closely guarded secrets of proprietary toolchains with expensive per-seat licenses. or Secret developer workflows are mysterious to writers. flickr:darthnick
  • 22. BEAUTIFUL DOCS • Widely accepted tooling built in the open so we make it work for us and for devs (readthedocs.org) • Simple markup • Flat file builds • We can patch and log issues against the tooling
  • 23. ONLY DEV TEAMS GET CI/CD Deploying containers and micro services oh my. Docs, use some horrifyingly slow proprietary tool, kthnxbai. flickr: photohome_uk
  • 24. CI/CD FOR ALL • Docs can be published automatically after reviewers merge them • Docs can have simple tests to ensure quality and that you “don’t break the build.” • Scrape the code to build more helpful docs (especially reference) • https://opensource.com/business/15/7/ continuous-integration-and-continuous- delivery-documentation flickr:pedrovezini
  • 25. DRAFTS FOR REVIEWS • Static site generation from a branch or fork • Enables publishing both drafts and final output flickr:denverjeffrey
  • 26. WHAT PAIRS WELL WITH GITHUB? • Simple markup: Markdown, Middleman, RST • GitHub Pages: http://pages.github.com • Static site generators: https://staticsitegenerators.net/ • Well-documented style guide and contributor guide • Open licensing: Creative Commons • PenFlip is “GitHub for Writers” • Borrowing development techniques
  • 27. WHO USES GIT AND GITHUB FOR WRITING? • O’Reilly Media for book publishing • GitHub uses GitHub to document GitHub • OpenStack uses open source Git • Rackspace Cloud documentation uses GitHub
  • 28. WHAT ARE SOME DIFFICULTIES? • Scope and scale questions • Official-ness • Identity • Naming flickr:lamont_cranston
  • 29. GITHUB BENEFITS • Collaborate where users are • Motivate more contributors; track and reward contributions • Version control; release management; CI/CD • Track issues for distributed assignments and improved quality • Create a quality bar for entry • Enable fine-grained reviews and attract more reviewers • Automate tedious tasks • Coach writing skills and build better writers out of subject matter experts • Review incoming contributions; establish specialty teams for reviews • Build reputation and street credibility with metrics
  • 31. You shall not pass… • test style guide • test syntax • test build QUALITY GATE flickr:davebloggs007
  • 32. END THE TEDIUM ENABLE THE ROBOTS • Build the docs and publish them to drafts or staging area • Docs are always available for reviews flickr:hddod
  • 33. COACH BETTER 
 WRITING • Become the experts and consultants while enabling others to improve their writing • The people with the knowledge can become better writers and learn more empathy by writing for the users flickr: philgaldys
  • 34. CREATE TEAMS • We now divide the work by deliverable: user guides, install guides, configuration guides • We scrape the code as often as we can to deliver continuously flickr:mortimer
  • 35. BUILD A REPUTATION • Measure quality and quantity • Count contributions and improvements • Compare over time; benchmark and reward flickr:turbojoe
  • 36. “We’re crazy, but we’re writing a book in five days.” - Anne Gentle https://www.youtube.com/ watch?v=lYfHEy6E2n0
  • 37. Ask me. Challenge me. Find out. flickr:candelabrumdanse
  • 38. The hope “that deficiencies in program specifications could be made up by the skill of a technical writing department… was misguided; the design of a program and the design of its specification must be undertaken in parallel by the same person, and they must interact with each other.” - C.A.R. Hoare, 1980 flickr:roswellsgirl