~/talk

Using odoc to Write Documentation

Talkat FUN OCaml 2024 · 2024-09-16..09-17· [documentation]
links:none on file
slides:none on file

A concrete how-to: odoc reads the compiler artifacts and builds API pages (one module per page) automatically, dune runs the single command to produce the site, and adding docstrings plus three files (doc/, doc/dune, index.mld) turns autogenerated output into a real landing page and tutorials. Local browsing works via odoc/dune, published docs appear on ocaml.org when the package is on opam, and odoc3 promises improved search, cross-package refs and source rendering.

AI-written summary · about

  1. 0:00Introduction to odoc
  2. 1:06Reviewing existing docs
  3. 6:12Setting up odoc
  4. 8:43Building documentation
  5. 10:30Adding doc comments
  6. 14:57Creating landing pages
  7. 17:04Sharing documentation
  8. 18:07Future of odoc
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.