~/talk

Documenting Python Code

Talkat PyCon Italia 2024 · 2024-05-22..05-25· [documentation]
links:none on file
slides:none on file

Argues that usable Python docs come from reStructuredText docstrings processed with Sphinx + napoleon (or sphinx-apidoc), shown by generating HTML from a small bank-account module with autodoc, custom theme, and textual UML diagrams; recommends docs-as-code workflows (text files in VCS, CI, code-review), forbids Word/Confluence and warns against plain Markdown for APIs, cites a 300‑vote survey where 22% report good docs, advises a few responsible technical writers, and rejects LLMs for explaining the why behind decisions.

AI-written summary · about

  1. 0:00The problem of documentation
  2. 5:23Principles of documentation
  3. 11:32Python documentation tools
  4. 22:03Documentation workflow demo
  5. 28:12Comparing markup languages
  6. 29:02Strategies for success
  7. 35:41Conclusion and resources
  8. 37:17Q&A introduction
  9. 37:35Expert Q&A session
~/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.