Skip to content

Commit 28540c0

Browse files
committed
fix: update doc script to include cleaning and building steps
1 parent 25c5720 commit 28540c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"sol-to-uml": "npx zx scripts/tools/sol-to-uml.mjs",
2525
"puml-to-links": "npx zx scripts/tools/puml-to-links.mjs",
2626
"storage-to-diagrams": "bash scripts/tools/storage-to-diagrams.sh",
27-
"doc": "npx hardhat docgen",
27+
"doc": "npx hardhat clean && npm run build && npx hardhat docgen",
2828
"check-doc": "npm run doc && git diff --exit-code docs/",
2929
"prerelease": "npm version prerelease --preid=rc -m 'chore: v%s'"
3030
},

0 commit comments

Comments
 (0)