Skip to content

Commit 873bf06

Browse files
Update copilot-instructions.md
Co-authored-by: Luke Latham <[email protected]>
1 parent 6d5fba2 commit 873bf06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/copilot-instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ This document contains repository-specific instructions for GitHub Copilot when
5151

5252
## Links and References
5353

54-
- Use **relative links** for files within this repo
54+
- Use relative links for files within this repo
55+
- When adding external links into a document, strip out the language/culture segment of the URL if present (example: remove the `en-us` or `en` part of links to English versions of webpages)
5556
- For learn.microsoft.com links, **remove** `https://learn.microsoft.com/en-us` from URLs
5657
- Use cross-references for APIs: `<xref:api-doc-ID>`
5758
- Get doc ID from the relevant XML doc in dotnet-api-docs

0 commit comments

Comments
 (0)