Skip to content

Commit

Permalink
Merge pull request #1519 from AlexJerabek/AlexJ-YAML
Browse files Browse the repository at this point in the history
[api-documenter] Adjusting package name parser in OfficeYamlDocumenter
  • Loading branch information
octogonz authored Sep 11, 2019
2 parents 9c898ef + 0ed3769 commit bc20065
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
@@ -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": "[email protected]"
}

0 comments on commit bc20065

Please sign in to comment.