~/talk

Augmented docs: a love letter to rustdoc and docs.rs

Talkat EuroRust 2024 · 2024-10-10..10-11· [rust, developer-experience]
slides:none on file

Shows concrete hacks and outcomes: rustdoc runs examples as doctests and supports include_str and attribute-driven docs, docs.rs archives every published version and uses nightly for extra features, and rustdoc emits rustdoc JSON usable to generate derived docs or APIs. Demonstrates crates and extensions that actually render in docs — aquamarine graphs, katex-doc math, document-features feature tables — and practical cfg(doc)/Cargo.toml settings, mdbook and zola pipelines, plus Diátaxis and Good Docs Project guidance.

AI-written summary · about

  1. 0:00Rust documentation intro
  2. 1:04Why documenting code matters
  3. 3:34Rust docs tools
  4. 5:19Advanced rustdoc features
  5. 8:09Customizing docs with attributes
  6. 11:04Conditional compilation in docs
  7. 13:35Enhancing docs with HTML/CSS
  8. 15:27Extending docs with crates
  9. 16:33Contributing to rustdoc/docs.rs
  10. 17:37Advanced docs search
  11. 19:27Docs frameworks & guidelines
  12. 21:13Organizing docs with datataxonomy
  13. 23:23Book builders & SSG
  14. 24:05Conclusion and key takeaways
~/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.