
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
This command-line utility creates markdown-based documentation for your Solidity project(s) for the following platforms:
sudo npm install solidoc -g
CLI Arguments
How to Use Solidoc?
On your project root, run the following command.
solidoc ./ ./docs true
This will generate documentation to the docs directory.
Or edit package.json
"scripts": {
"docgen": "solidoc ./ ./docs"
}
and run
npm run docgen
Note
Do not use recompilation (third argument) if you are using this on a non truffle project.
Alternatively, you can create solidoc.json configuration file in your project root.
{
"pathToRoot": "./",
"outputPath": "./docs",
"noCompilation": true,
"compiler": "truffle compile",
"language": "en"
}
and then call solidoc instead of passing any command line argument.
If you wish to change bits and pieces of the documentation generated, place solidoc templates on the following directory:
./.solidoc/templates/
You can also override language literals by copying and editing i18n files on the following path:
./.solidoc/i18n/
FAQs
Solidity Documentation Generator
We found that solidoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.