From 150d574730042ea45f1b42ff4dc70a8b256efc2a Mon Sep 17 00:00:00 2001 From: Alex Jerabek Date: Wed, 11 Sep 2019 09:28:50 -0700 Subject: [PATCH 1/2] Adjusting package name parser --- apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts b/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts index f8af6353fbe..f0067d30fcd 100644 --- a/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts +++ b/apps/api-documenter/src/documenters/OfficeYamlDocumenter.ts @@ -73,7 +73,7 @@ export class OfficeYamlDocumenter extends YamlDocumenter { /** @override */ protected onCustomizeYamlItem(yamlItem: IYamlItem): void { - const nameWithoutPackage: string = yamlItem.uid.replace(/^[^.]+\./, ''); + const nameWithoutPackage: string = yamlItem.uid.replace(/^[^.]+\!/, ''); if (yamlItem.summary) { yamlItem.summary = this._fixupApiSet(yamlItem.summary, yamlItem.uid); yamlItem.summary = this._fixBoldAndItalics(yamlItem.summary); From 0ed3769c6aa6fb4da9a5e2e8cadadc70cead7496 Mon Sep 17 00:00:00 2001 From: Alex Jerabek Date: Wed, 11 Sep 2019 09:34:21 -0700 Subject: [PATCH 2/2] Rush change --- .../api-documenter/AlexJ-YAML_2019-09-11-16-31.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 common/changes/@microsoft/api-documenter/AlexJ-YAML_2019-09-11-16-31.json diff --git a/common/changes/@microsoft/api-documenter/AlexJ-YAML_2019-09-11-16-31.json b/common/changes/@microsoft/api-documenter/AlexJ-YAML_2019-09-11-16-31.json new file mode 100644 index 00000000000..ba9d9b37a6d --- /dev/null +++ b/common/changes/@microsoft/api-documenter/AlexJ-YAML_2019-09-11-16-31.json @@ -0,0 +1,11 @@ +{ + "changes": [ + { + "packageName": "@microsoft/api-documenter", + "comment": "Updating OfficeYamlDocumenter to account for new deeply linked types", + "type": "patch" + } + ], + "packageName": "@microsoft/api-documenter", + "email": "AlexJerabek@users.noreply.github.com" +} \ No newline at end of file