Adding attributes

  1. Add to Attrs.scala
  2. Copy some ScalaDoc from MDN or similar.
  3. Add it to Attrs.valuesForAllAttr
  4. Run bin/generate-aliases

Updating CanIUse data

  1. bin/generate-caniuse
  2. git diff to inspect changes.
  3. Check-in changes.

Updating platform.js

  1. bin/generate-platformjs
  2. Check-in changes.

Editing the documentation

  • It's all under doc/ in markdown format. The sidebar is in
  • Run bin/book-dev. It will split your terminal into with the bottom half running bin/book-serve which generates HTML with live-refresh.
  • Open your browser to localhost:4000.
  • Edit markdown.