Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Add typedoc docs (#583)
Browse files Browse the repository at this point in the history
* Add typedoc docs

* Fix security vulnerability detected in Marked
  • Loading branch information
mayurkale22 authored Nov 19, 2019
1 parent eabfd10 commit 47bdce2
Show file tree
Hide file tree
Showing 4 changed files with 177 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ build/

#istanbul files
coverage/

#docs files
docs
163 changes: 163 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"bootstrap": "lerna bootstrap",
"bump": "lerna publish",
"codecov": "lerna run codecov",
"check": "lerna run check"
"check": "lerna run check",
"docs": "typedoc --tsconfig ./packages/opencensus-core/tsconfig.json"
},
"keywords": [
"opencensus",
Expand Down Expand Up @@ -42,6 +43,7 @@
"devDependencies": {
"@types/node": "^10.12.12",
"lerna": "^2.11.0",
"typedoc": "^0.14.2",
"typescript": "^3.0.0"
}
}
9 changes: 8 additions & 1 deletion packages/opencensus-core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@
],
"exclude": [
"node_modules"
]
],
"typedocOptions": {
"name": "OpenCensus Documentation",
"out": "docs",
"mode": "file",
"hideGenerator": true,
"ignoreCompilerErrors": true
}
}

0 comments on commit 47bdce2

Please sign in to comment.