observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
967 stars 83 forks source link

D12 adapter sketch #83

Closed tmcw closed 3 years ago

tmcw commented 5 years ago

So: this is a sketch of how we might document stdlib without putting documentation in the source code. This:

  1. Parses the README, detects namepaths, splits sections, writes a JSON index
  2. Attaches information from that index to the exports