Skip to content

Commit

Permalink
chore: move typedocOptions to typedoc.json (smithy-lang#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and srchase committed Mar 17, 2023
1 parent aa3dbab commit f574188
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class CodegenVisitor extends ShapeVisitor.Default<Void> {
* A mapping of static resource files to copy over to a new filename.
*/
private static final Map<String, String> STATIC_FILE_COPIES = MapUtils.of(
"typedoc.json", "typedoc.json",
"tsconfig.json", "tsconfig.json",
"tsconfig.es.json", "tsconfig.es.json",
"tsconfig.types.json", "tsconfig.types.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,5 @@
"outDir": "dist-cjs",
"removeComments": true
},
"typedocOptions": {
"exclude": [
"**/node_modules/**",
"**/*.spec.ts",
"**/protocols/*.ts",
"**/e2e/*.ts",
"**/endpoints.ts"
],
"excludeNotExported": true,
"excludePrivate": true,
"hideGenerator": true,
"ignoreCompilerErrors": true,
"includeDeclarations": true,
"stripInternal": true,
"readme": "README.md",
"mode": "file",
"out": "docs",
"theme": "minimal",
"plugin": ["@aws-sdk/service-client-documentation-generator"]
},
"exclude": ["test/**/*"]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"exclude": [
"**/node_modules/**",
"**/*.spec.ts",
"**/protocols/*.ts",
"**/e2e/*.ts",
"**/endpoints.ts"
],
"excludeNotExported": true,
"excludePrivate": true,
"hideGenerator": true,
"ignoreCompilerErrors": true,
"includeDeclarations": true,
"stripInternal": true,
"readme": "README.md",
"mode": "file",
"out": "docs",
"theme": "minimal",
"plugin": ["@aws-sdk/service-client-documentation-generator"]
}

0 comments on commit f574188

Please sign in to comment.