Skip to content

Commit a82144c

Browse files
authored
Merge pull request #36148 from dotnet/main
2 parents 3a23e56 + 1b90ca3 commit a82144c

File tree

4 files changed

+87
-75
lines changed

4 files changed

+87
-75
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ When working on an issue:
8282
- [ ] Number ordered lists as "1." for every item (don't use sequential numbers)
8383
- [ ] Use backticks around content specifically for file names (`file.txt`), folders (`folder`), file paths (`folder/file.txt`), custom types (`myVariable`, `MyClass`), raw URLs in the text (`https://www.contoso.com`), URL segments (`/product/id/199`), file extensions (`.razor`), NuGet packages (`Microsoft.AspNetCore.SignalR.Client`), and code that should never be localized
8484
- [ ] For Blazor's Razor components mentioned in article text, use backticks around the name of the component (example: `Counter` component)
85+
- [ ] Use placeholders with braces in the format `{PLACEHOLDER NAME}` when used in URIs, code examples, and other contexts where placeholders are used. Use uppercase letters with spaces between words for the placeholder name inside the braces.
86+
- [ ] Wrong: "Launch the app and navigate to `https://localhost:<port>/openapi/v1.json` to view the generated OpenAPI document."
87+
- [ ] Correct: "Launch the app and navigate to `https://localhost:{PORT}/openapi/v1.json` to view the generated OpenAPI document, where the `{PORT}` placeholder is the port."
8588
- [ ] For any new or updated .md file, ensure the standard frontmatter (metadata) is included as specified in [Metadata for Microsoft Learn documentation.](https://learn.microsoft.com/en-us/contribute/content/metadata)
8689
- [ ] For any new or updated .md file added to the repository, ensure the following frontmatter (metadata) is included:
8790
- [ ] Metadata `ai-usage: ai-assisted` if any AI assistance was used

0 commit comments

Comments
 (0)