~/talk

Automatic UI Library Documentation with TypeScript AST

TalkinItalianat Angular Day 2017 · 2017-06-15..06-16· [typescript, component-design]
slides:none on file

Automatic generation of UI component documentation by parsing the TypeScript AST to extract inputs, outputs, public fields, methods and interfaces into JSON. It uses the TypeScript compiler API, TypeDoc, an AST traverser and webpack to render HTML and embed live Angular templates so docs and examples update automatically as source changes, reducing documentation effort to about one third.

AI-written summary · about

  1. 0:00Shared component libraries
  2. 5:45UI library requirements
  3. 12:25Documenting components
  4. 18:30TypeScript AST and Compiler API
  5. 26:41Auto-documentation with TypeDoc
  6. 31:13Live examples
~/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.