~/talk

Building Docs like Code: Continuous Integration for Documentation

Talkat PyCon Latam 2019 · 2019-08-29..08-31· [documentation, developer-experience]
slides:none on file

Advocates keeping documentation in the same repo and building and publishing a static site on every commit, with automated link checks and doctests so code examples stay correct. Uses MkDocs and Sphinx for output, a cookiecutter starter, Travis CI (Docker + Makefile + pipenv) and publishes to GitHub Pages. The author ships a cookiecutter pipeline that auto-builds and auto-publishes; it works in demos and cut support load dramatically — one team reports ~98% of support queries answered by docs.

AI-written summary · about

  1. 0:00Start
  2. 0:43Who is this talk for?
  3. 1:15A Common Approach to Documentation
  4. 2:17Issues with This Approach
  5. 3:49Why Do Developers Dislike Writing Documentation?
  6. 4:13The Real Issue
  7. 5:13What If We Treat the Docs Like Code?
  8. 5:49What Do We Mean When We Say "Treat Docs Like Code"?
  9. 6:23What Do We Gain From This?
  10. 9:12Case Study
  11. 10:22How Does This Change the Workflow?
  12. 11:24What is Continuous Integration and Continuous Deployment (CI/CD)?
  13. 12:17What Does This Mean for Docs?
  14. 14:05Types of Documentation
  15. 16:22Documentation Tools - Mkdocs
  16. 17:07Mkdocs - Extensions - UML
  17. 17:59Documentation Tools - Sphinx
  18. 18:38Sphinx - Documentation Testing
  19. 19:18Documentation Tools - ronn
  20. 20:09My Solution
  21. 27:01Final Thoughts
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.