This repository was archived by the owner on Feb 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Autogenerate JS Core API DocsΒ #4021
Copy link
Copy link
Closed
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upeffort/daysEstimated to take multiple days, but less than a weekEstimated to take multiple days, but less than a weekkind/maybe-in-helianeed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritizationtopic/docsDocumentationDocumentation
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
BigLep, hugomrdias, galargh and NatoBoram
Metadata
Metadata
Assignees
Labels
P1High: Likely tackled by core team if no one steps upHigh: Likely tackled by core team if no one steps upeffort/daysEstimated to take multiple days, but less than a weekEstimated to take multiple days, but less than a weekkind/maybe-in-helianeed/triageNeeds initial labeling and prioritizationNeeds initial labeling and prioritizationtopic/docsDocumentationDocumentation