Skip to content

Commit e5b130a

Browse files
committed
feat: Add typedoc configuration and update package.json
1 parent 7fd7088 commit e5b130a

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"lint": "eslint **/*.ts",
1717
"lint:fix": "eslint --fix **/*.ts",
1818
"format": "prettier **/*.ts --write",
19+
"docs": "typedoc",
1920
"test": "vitest"
2021
},
2122
"workspaces": [
@@ -32,6 +33,8 @@
3233
"gts": "^5.3.1",
3334
"prettier": "^3.6.2",
3435
"prettier-plugin-organize-imports": "^4.3.0",
36+
"typedoc": "^0.28.14",
37+
"typedoc-theme-fresh": "^0.2.1",
3538
"typescript": "^5.9.2",
3639
"typescript-eslint": "^8.46.0",
3740
"vitest": "^3.2.4"

tsconfig.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@
66
"lib": ["ES2022", "DOM"],
77
"moduleResolution": "nodenext",
88
"esModuleInterop": true,
9-
"skipLibCheck": true
10-
}
9+
"skipLibCheck": true,
10+
"rootDir": "."
11+
},
12+
"exclude": [
13+
"node_modules",
14+
"dist",
15+
"coverage",
16+
"**/*_test.ts",
17+
"**/test",
18+
"core/test",
19+
"dev/test"
20+
]
1121
}

typedoc.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://typedoc.org/schema.json",
3+
"entryPoints": ["./core/src/index.ts"],
4+
"exclude": ["**/*_test.ts", "**/test"],
5+
"out": "api-reference/typescript/",
6+
"name": "ADK for TypeScript: API Reference",
7+
"readme": "none",
8+
"excludePrivate": true,
9+
"tsconfig": "./tsconfig.json",
10+
"plugin": [
11+
"typedoc-theme-fresh",
12+
"typedoc-github-theme"
13+
],
14+
"theme": "fresh",
15+
"excludeExternals": true
16+
}

0 commit comments

Comments
 (0)