Skip to content

Commit 58d6c6d

Browse files
🔧 factorize typedoc category order (#3947)
Factorize the order of the categories in the main typedoc.json files. Reduces packages boilerplate.
1 parent ca10ab0 commit 58d6c6d

File tree

5 files changed

+21
-44
lines changed

5 files changed

+21
-44
lines changed

‎packages/logs/typedoc.json‎

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
11
{
22
"$schema": "https://typedoc.org/schema.json",
3-
"entryPoints": ["src/entries/main.ts"],
4-
5-
"categoryOrder": [
6-
"Init",
7-
"Authentication",
8-
"Privacy",
9-
"Data Collection",
10-
"Session Persistence",
11-
"Transport",
12-
"*",
13-
"Other"
14-
]
3+
"entryPoints": ["src/entries/main.ts"]
154
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{
22
"$schema": "https://typedoc.org/schema.json",
3-
"entryPoints": ["src/entries/main.ts"],
4-
"categoryOrder": ["Main", "Error", "*", "Other"]
3+
"entryPoints": ["src/entries/main.ts"]
54
}
Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
22
"$schema": "https://typedoc.org/schema.json",
3-
"entryPoints": ["src/entries/main.ts"],
4-
5-
"categoryOrder": [
6-
"Init",
7-
"Authentication",
8-
"Privacy",
9-
"Data Collection",
10-
"Session Replay",
11-
"Tracing",
12-
"Profiling",
13-
"Session Persistence",
14-
"Transport",
15-
"*",
16-
"Other"
17-
]
3+
"entryPoints": ["src/entries/main.ts"]
184
}

‎packages/rum/typedoc.json‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,4 @@
11
{
22
"$schema": "https://typedoc.org/schema.json",
3-
"entryPoints": ["src/entries/main.ts"],
4-
5-
"categoryOrder": [
6-
"Init",
7-
"Authentication",
8-
"Privacy",
9-
"Data Collection",
10-
"Session Replay",
11-
"Tracing",
12-
"Profiling",
13-
"Session Persistence",
14-
"Transport",
15-
"*",
16-
"Other"
17-
]
3+
"entryPoints": ["src/entries/main.ts"]
184
}

‎typedoc.json‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,23 @@
1919
},
2020
"packageOptions": {
2121
"excludeInternal": true,
22+
23+
"categoryOrder": [
24+
"Init",
25+
"Main",
26+
"Authentication",
27+
"Privacy",
28+
"Data Collection",
29+
"Error",
30+
"Session Replay",
31+
"Tracing",
32+
"Profiling",
33+
"Session Persistence",
34+
"Transport",
35+
"*",
36+
"Other"
37+
],
38+
2239
"kindSortOrder": [
2340
"Reference",
2441
"Project",

0 commit comments

Comments
 (0)