Adding attributes
- Add to Attrs.scala
- Copy some ScalaDoc from MDN or similar.
- Add it to
Attrs.valuesForAllAttr
- Run
bin/generate-aliases
Updating CanIUse data
bin/generate-caniuse
git diff
to inspect changes.
- Check-in changes.
bin/generate-platformjs
- Check-in changes.
Editing the documentation
- It's all under
doc/
in markdown format.
The sidebar is in SUMMARY.md
- 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.