Skip to content

Commit

Permalink
doc: Update doc generation to avoid including extraneous info
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed May 18, 2017
1 parent 227e965 commit e88242c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"changelog": "node build/changelog.js",
"doc": "npm run doc:build && npm run doc:publish && npm run doc:submodule",
"predoc:build": "cd ./doc && git checkout gh-pages",
"doc:build": "typedoc --out ./doc --mode file --name Iridium --exclude test/**/* iridium.ts",
"doc:build": "typedoc --out ./doc --mode file --name Iridium --tsconfig tsconfig.doc.json iridium.ts",
"postdoc:build": "echo gitdir: ../.git/modules/doc> ./doc/.git",
"doc:stage": "cd ./doc && git add -A",
"doc:commit": "cd ./doc && git diff --cached --exit-code && git commit -m \"doc: Update documentation\" || true",
"doc:commit": "cd ./doc && git diff-index --cached --quiet HEAD -- && git commit -m \"doc: Update documentation\" || true",
"doc:push": "cd ./doc && git push",
"doc:publish": "npm run doc:stage && npm run doc:commit && npm run doc:push",
"doc:submodule": "npm run doc:submodule:commit",
Expand Down
22 changes: 22 additions & 0 deletions tsconfig.doc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"version": true,
"module": "commonjs",
"target": "es6",
"sourceMap": true,
"declaration": true,
"experimentalDecorators": true,
"noEmit": true,
"moduleResolution": "node",
"strictNullChecks": true,
"noImplicitThis": true,
"noImplicitAny": true
},
"exclude": [
"benchmarks",
"dist",
"example",
"node_modules",
"test"
]
}

0 comments on commit e88242c

Please sign in to comment.