Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@

Generate a static documentation site from NatSpec comments automatically on compilation with Hardhat.

> Versions of this plugin prior to `2.0.0` were released as `hardhat-docgen`, outside of the `@solidstate` namespace.

## Installation

```bash
npm install --save-dev hardhat-docgen
npm install --save-dev @solidstate/hardhat-docgen
# or
yarn add --dev hardhat-docgen
yarn add --dev @solidstate/hardhat-docgen
```

## Usage

Load plugin in Hardhat config:

```javascript
require('hardhat-docgen');
require('@solidstate/hardhat-docgen');
```

Add configuration under the `docgen` key:
Expand Down
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hardhat-docgen",
"version": "1.3.0",
"name": "@solidstate/hardhat-docgen",
"version": "2.0.0",
"description": "Generate NatSpec documentation automatically on compilation",
"keywords": [
"hardhat",
Expand All @@ -16,7 +16,7 @@
"blockchain",
"wow"
],
"repository": "https://github.com/ItsNickBarry/hardhat-docgen",
"repository": "github:solidstate-network/hardhat-docgen",
"license": "MIT",
"author": "Nick Barry",
"main": "index.js",
Expand Down Expand Up @@ -50,5 +50,8 @@
},
"engines": {
"node": ">=14.14.0"
},
"publishConfig": {
"access": "public"
}
}