Documentation generator for Augur's smart contracts.
solidity-docgen
combines inline documentation with long form documents to
generate Augur's smart contract documentation pages.
npm install solidity-docgen
- Document your source code in inline comments using
@dev
tags in the NatSpec format. - Write longer form documentation in a README.md file next to your smart contracts. (Optional)
- Run
npm build
in theaugur/augur-core
directory to generate documentation pages in theaugur/docs/docs/contracts
directory. If the contracts have already been compiled, runningnpm build:documentation
will have the same effect.