solidity-mkdocs
v0.0.1
Published
Generate MKDocs documentation from Solidity files
Downloads
4
Readme
This project distributes hbs
files and helpers.ts
that may be used to ease generating solidity documentation with solidity-docgen'
for MKDocs.
To use this project, you must have solidity-docgen
installed.
Simply configure in your hardhat.config.ts
file:
docgen: {
outputDir: './docs/contracts',
pages: 'files',
templates: 'node_modules/solidity-mkdocs', // << This is the path to this project
sourcesDir: './src',
pageExtension: '.md',
exclude: ['mocks', 'initializers', 'vendor', 'modifiers', 'fixtures'],
},