-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(contracts) - add script to setup website in one go (including ru…
…nning typedoc, and solidity docgen) in order to allow preview via netlify
- Loading branch information
Showing
2 changed files
with
17 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
# install and build project | ||
npm install && npm run bootstrap && npm run build | ||
|
||
# run typedoc | ||
npm run typedoc | ||
|
||
# run solidity docgen | ||
cd contracts && npm run docs && cd ../ | ||
|
||
# fix typedoc links and add solidity natspec index toc | ||
cd website && npm install && npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters