Skip to content

Commit ba6c57d

Browse files
authored
fix: update generate doc command (#324)
1 parent 25c5720 commit ba6c57d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ jobs:
2828
run: npm ci
2929
- name: Check code formatting
3030
run: npm run check-format
31-
- name: Build
32-
run: npm run build
3331
- name: Check documentation is up-to-date
3432
run: npm run check-doc
33+
- name: Build
34+
run: npm run build
3535
- name: Check storage layout
3636
run: npm run check-storage-layout
3737
- name: Test deployment

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 && 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)