Skip to content

Commit dc55a99

Browse files
committed
Remove "tsdoc-undefined-tag" workaround from api-documenter-test/config/api-extractor.json
1 parent 7079aa5 commit dc55a99

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

build-tests/api-documenter-test/config/api-extractor.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,5 @@
1818
"enabled": false
1919
},
2020

21-
"testMode": true,
22-
23-
"messages": {
24-
"tsdocMessageReporting": {
25-
"tsdoc-undefined-tag": {
26-
"logLevel": "none"
27-
}
28-
}
29-
}
21+
"testMode": true
3022
}

build-tests/api-documenter-test/etc/api-documenter-test.api.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@
126126
"tagName": "@preapproved",
127127
"syntaxKind": "modifier"
128128
},
129+
{
130+
"tagName": "@docCategory",
131+
"syntaxKind": "inline"
132+
},
129133
{
130134
"tagName": "@myCustomTag",
131135
"syntaxKind": "modifier"
@@ -160,6 +164,7 @@
160164
"@betaDocumentation": true,
161165
"@internalRemarks": true,
162166
"@preapproved": true,
167+
"@docCategory": true,
163168
"@myCustomTag": true
164169
}
165170
}

build-tests/api-documenter-test/tsdoc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,17 @@
44
"extends": ["@microsoft/api-extractor/extends/tsdoc-base.json"],
55

66
"tagDefinitions": [
7+
{
8+
"tagName": "@docCategory",
9+
"syntaxKind": "inline"
10+
},
711
{
812
"tagName": "@myCustomTag",
913
"syntaxKind": "modifier"
1014
}
1115
],
1216
"supportForTags": {
13-
"@myCustomTag": true
17+
"@myCustomTag": true,
18+
"@docCategory": true
1419
}
1520
}

0 commit comments

Comments
 (0)