Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
Add generate-docs.sh script to ap.js for publishing CNAME file to gh-…
Browse files Browse the repository at this point in the history
…pages
  • Loading branch information
jo-es committed Dec 17, 2019
1 parent e431211 commit acd45a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ap.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"access": "public"
},
"scripts": {
"build": "webpack && npm run generate-docs",
"build": "webpack && ./scripts/generate-docs.sh",
"generate-docs": "typedoc",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
Expand Down
3 changes: 3 additions & 0 deletions packages/ap.js/scripts/generate-docs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
typedoc
touch ./docs/CNAME
echo "ap-js.actus-protocol.io" > ./docs/CNAME

0 comments on commit acd45a2

Please sign in to comment.