rchain-community / rchain-api

An API for rchain dapps to communicate with the blockchain
Other
22 stars 12 forks source link

extract docs from source #52

Closed dckc closed 5 years ago

dckc commented 5 years ago
    "build:docs": "documentation build ./index.js --github --sort-order='alpha' -f md > ./docs/index.md"

-- https://github.com/ethereumjs/ethereumjs-util/blob/master/package.json

dckc commented 5 years ago

tried documentation.js - can't get addBlock to be a method on RNode

https://github.com/documentationjs/documentation/issues/755 Flow types should override other inference

esdoc - just reformats REAMDE; doesn't show anything about functions

ooh... autodoc is like doctest... but it's fallow...

$ npx autodoc src/RHOCore.js 
Line 4: Unexpected token {