Skip to content

Commit bc20065

Browse files
authored
Merge pull request microsoft#1519 from AlexJerabek/AlexJ-YAML
[api-documenter] Adjusting package name parser in OfficeYamlDocumenter
2 parents 9c898ef + 0ed3769 commit bc20065

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class OfficeYamlDocumenter extends YamlDocumenter {
7373

7474
/** @override */
7575
protected onCustomizeYamlItem(yamlItem: IYamlItem): void {
76-
const nameWithoutPackage: string = yamlItem.uid.replace(/^[^.]+\./, '');
76+
const nameWithoutPackage: string = yamlItem.uid.replace(/^[^.]+\!/, '');
7777
if (yamlItem.summary) {
7878
yamlItem.summary = this._fixupApiSet(yamlItem.summary, yamlItem.uid);
7979
yamlItem.summary = this._fixBoldAndItalics(yamlItem.summary);
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/api-documenter",
5+
"comment": "Updating OfficeYamlDocumenter to account for new deeply linked types",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@microsoft/api-documenter",
10+
"email": "AlexJerabek@users.noreply.github.com"
11+
}

0 commit comments

Comments
 (0)