stdlib-js / www

Website for stdlib, a standard library for JavaScript and Node.js.
https://stdlib.io
Apache License 2.0
6 stars 8 forks source link

[RFC]: add support for viewing API docs as JSON #27

Open kgryte opened 2 years ago

kgryte commented 2 years ago

Description

This RFC proposes adding support for viewing API docs as JSON.

Currently, one can only view the API docs as HTML. Would be nice to be able to view the docs as JSON, as well, similar to Node.js (e.g., see console).

This would be useful as a consumable public format which can be consumed by IDEs and code editors.

Accomplishing this feature would require some tooling, as we'd like want to incorporate type information, which is not readily available in the README files, but is present in both the repl.txt (where present), in the TypeScript declaration files, and in the JSDoc source comments.

Related Issues

No.

Questions

No.

Other

No.

Checklist