Package solidity-docgen 0.3.0-beta.2

I would like to thank OZ team for a very quick ramp-up of this wonderful package, which has allowed us to auto-extract our contracts documentation into MD (MarkDown) files and make it properly visible on GitHub, GitBook and any other application or hosting-service which supports this format.

AFAIK, no other such package is currently viable specifically for Solidity (I have found a few projects, all of which seem to have been abandoned quite a while ago, and/or incomplete to a point which allows one to easily generate the docs).

This package is a pretty much “plug & play” utility, which makes it very easy to “get the job done” with almost zero effort. In addition to that, it also allows for advanced configuration of how your docs will appear, via an HBS (HandleBars) configuration file which is processed during execution.

For anyone interested, we have utilized this package in our repository:

This infrastructures allows us to generate our docs along with two other files:

Following that, we can publish the documentation on GitBook simply by registering our repository for this service (though the output docs must be added to the repo).

We (and anyone else seeking to do so) can auto-generate the docs via npm run docify.

Thank you OZ!!!


Glad to hear that @barakman! For everyone else, here is the link to the repository.

There is basically no documentation for how to use this yet (ironic, right?) but if anyone is interested in using it I’m happy to guide through the setup. The default behavior of just running the command should be enough to get going, though.