Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions eng/common/scripts/Update-DocsMsMetadata.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,12 @@ author: $author
ms.author: $msauthor
ms.date: $date
ms.topic: reference

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why were these removed?

@sima-zhu sima-zhu Apr 27, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is according the their metadata guidance. If we use the ms.service, then the set of ms.prod and ms.technology are not necessary.
https://review.docs.microsoft.com/en-us/help/contribute/metadata-attributes?branch=main

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are many OPS warning regarding we are using wrong ms.prod value

ms.prod: azure
ms.technology: azure
ms.devlang: $Language
ms.service: $service
---
"@

$ReadmeContent = $ReadmeContent -replace "https://docs.microsoft.com(/en-us)?/?", "/"
return "$header`n$ReadmeContent"
}

Expand Down