Skip to content

Commit 558b0d0

Browse files
committed
fix: doc wasn't displaying external enums
1 parent 7e27442 commit 558b0d0

File tree

4 files changed

+19
-10
lines changed

4 files changed

+19
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"lint": "oxlint --config=./.oxlintrc.json --fix",
2121
"lint:check": "oxlint --config=./.oxlintrc.json",
2222
"format:check": "prettier --check src/**/*.{jsx,ts,tsx}",
23-
"build-docs": "typedoc --entryPointStrategy expand --sort source-order"
23+
"build-docs": "typedoc"
2424
},
2525
"targets": {
2626
"node": {

theme/custom.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.tsd-navigation .tsd-is-external {
2+
display: none;
3+
}

tsconfig.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,5 @@
1414
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */
1515
},
1616
"exclude": ["dist"],
17-
"include": ["src/**/*"],
18-
"typedocOptions": {
19-
"entryPoints": ["src/index.ts"],
20-
"excludeInternal": true,
21-
"excludePrivate": true,
22-
"excludeProtected": true,
23-
"includeVersion": true,
24-
"name": "plugNmeet JS SDK"
25-
}
17+
"include": ["src/**/*"]
2618
}

typedoc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"$schema": "https://typedoc.org/schema.json",
3+
"entryPoints": ["src/index.ts"],
4+
"out": "docs",
5+
"entryPointStrategy": "expand",
6+
"excludeInternal": true,
7+
"excludePrivate": true,
8+
"excludeProtected": true,
9+
"excludeNotDocumented": false,
10+
"includeVersion": true,
11+
"name": "plugNmeet JS SDK",
12+
"customCss": "./theme/custom.css",
13+
"sort": ["source-order"]
14+
}

0 commit comments

Comments
 (0)