This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Closed
Description
Problem
Right now JS Core API docs are maintained by hand as a directory with bunch of Markdown files.
This is unsustainable, docs often get out of date (#4013, #3990, #4014, #3911, etc), wasting everyone's time.
Proposed solution
- Create automation that ensures that JS API docs reflect the API in the latest release
- We have TypeScript type definitions and could extend existing descriptions in JSDoc
- It could live at https://docs.ipfs.io/reference/js/api/,
- prior art: auto-generated docs for RPC over HTTP at https://docs.ipfs.io/reference/http/api/ are generated by this CI workflow
cc @achingbrain @BigLep + @hugomrdias if there is any prior art for doing this in JS land