rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[api-documenter] Update regex in the OfficeYamlDocumenter to be case insensitive

Open AlexJerabek opened this issue 8 months ago • 1 comments

Summary

This PR fixes output like what's seen in this yaml file. When the term "Api" is in the description twice, the API set link isn't corrected. In this case, the "ExcelApi" string is also incorrectly changed.

image

The solution is to combine the case normalization of "Api set" and the link addition.

Details

How it was tested

Manually tested the regex against the source yaml.

Impacted documentation

AlexJerabek avatar Jun 20 '25 17:06 AlexJerabek

@iclanton @dmichon-msft, any chance for a quick review?

AlexJerabek avatar Aug 06 '25 16:08 AlexJerabek