Skip to content

Commit 5d93a8b

Browse files
committed
docs: update typedoc
1 parent 24cd0c1 commit 5d93a8b

File tree

6 files changed

+248
-264
lines changed

6 files changed

+248
-264
lines changed

docs/docusaurus.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function typedocAdapter(name) {
2929
watch: process.env.TYPEDOC_WATCH,
3030
entryPoints: [`../packages/adapter-${slug}/src/index.ts`],
3131
tsconfig: `../packages/adapter-${slug}/tsconfig.json`,
32-
out: `reference/adapter/${slug}`,
32+
out: `docs/reference/adapter/${slug}`,
3333
...typedocConfig,
3434
},
3535
]
@@ -46,8 +46,7 @@ function typedocFramework(pkgDir, entrypoints) {
4646
watch: process.env.TYPEDOC_WATCH,
4747
entryPoints: entrypoints.map((e) => `../packages/${pkgDir}/src/${e}`),
4848
tsconfig: `../packages/${pkgDir}/tsconfig.json`,
49-
out: `reference/${id === "next-auth" ? "nextjs" : id}`,
50-
skipIndexPage: true,
49+
out: `docs/reference/${id === "next-auth" ? "nextjs" : id}`,
5150
},
5251
]
5352
}
@@ -273,16 +272,16 @@ const docusaurusConfig = {
273272
plugins: [
274273
typedocFramework("core", ["index.ts", "adapters.ts", "errors.ts", "jwt.ts", "types.ts"].concat(providers)),
275274
typedocFramework("frameworks-sveltekit", ["lib/index.ts", "lib/client.ts"]),
276-
typedocFramework("next-auth", ["index.tsx", "react.tsx", "jwt.ts", "adapters.ts", "next.ts", "types.ts", "middleware.ts"]),
275+
typedocFramework("next-auth", ["index.tsx", "react.tsx", "jwt.ts", "next.ts", "types.ts", "middleware.ts"]),
277276
...(process.env.TYPEDOC_SKIP_ADAPTERS
278277
? []
279278
: [
280279
typedocAdapter("Azure Tables"),
281280
typedocAdapter("D1"),
282-
typedocAdapter("EdgeDb"),
283281
typedocAdapter("Dgraph"),
284282
typedocAdapter("Drizzle"),
285283
typedocAdapter("DynamoDB"),
284+
typedocAdapter("EdgeDb"),
286285
typedocAdapter("Fauna"),
287286
typedocAdapter("Firebase"),
288287
typedocAdapter("Hasura"),
@@ -293,10 +292,10 @@ const docusaurusConfig = {
293292
typedocAdapter("PG"),
294293
typedocAdapter("PouchDB"),
295294
typedocAdapter("Prisma"),
296-
typedocAdapter("TypeORM"),
297295
typedocAdapter("Sequelize"),
298296
typedocAdapter("Supabase"),
299297
typedocAdapter("SurrealDB"),
298+
typedocAdapter("TypeORM"),
300299
typedocAdapter("Upstash Redis"),
301300
typedocAdapter("Xata"),
302301
]),

docs/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,11 @@
3838
"@docusaurus/theme-common": "2.4.1",
3939
"@docusaurus/theme-mermaid": "2.4.1",
4040
"@docusaurus/types": "2.4.1",
41-
"docusaurus-plugin-typedoc": "1.0.0-next.13",
41+
"docusaurus-plugin-typedoc": "1.0.0-next.19",
4242
"postcss-nested": "^6.0.1",
43-
"typedoc": "^0.24.8",
44-
"typedoc-plugin-markdown": "4.0.0-next.16"
43+
"typedoc": "0.25.3",
44+
"typedoc-plugin-markdown": "4.0.0-next.25",
45+
"typescript": "5.2.2"
4546
},
4647
"browserslist": {
4748
"production": [

docs/typedoc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
"excludeProtected": true,
1111
"gitRevision": "main",
1212
"hideBreadcrumbs": true,
13-
"hideHierarchy": true,
14-
"hideKindPrefix": true,
1513
"hideGenerator": true,
1614
"kindSortOrder": [
1715
"Function",
@@ -27,7 +25,6 @@
2725
"Variable",
2826
"Accessor",
2927
"Method",
30-
"ObjectLiteral",
3128
"Parameter",
3229
"TypeParameter",
3330
"TypeLiteral",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@auth/tsconfig": "workspace:*",
3333
"@balazsorban/monorepo-release": "0.3.1",
3434
"@types/jest": "^29.5.7",
35-
"@types/node": "^18.15.11",
35+
"@types/node": "^20.8.10",
3636
"@typescript-eslint/eslint-plugin": "5.47.0",
3737
"@typescript-eslint/parser": "5.47.0",
3838
"eslint": "8.30.0",

0 commit comments

Comments
 (0)