You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CONTRIBUTING.md
+42-1
Original file line number
Diff line number
Diff line change
@@ -34,8 +34,9 @@ Whenever you are submitting any changes to the Generative AI for Beginners repos
34
34
35
35
- Ensure that all your URLs are wrapped in square brackets followed by a parenthesis with no extra spaces around them or inside them `[]()`.
36
36
- Ensure that any relative link (i.e. links to other files and folders in the repository) starts with a `./` referring to a file or a folder located in the current working directory or a `../` referring to a file or a folder located in a parent working directory.
37
+
- Ensure that any relative link (i.e. links to other files and folders in the repository) has a tracking ID (i.e. `?` or `&` then `wt.mc_id=` or `WT.mc_id=`) at the end of it.
38
+
- Ensure that any URL from the following domains _github.com, microsoft.com, visualstudio.com, aka.ms, and azure.com_ has a tracking ID (i.e. `?` or `&` then `wt.mc_id=` or `WT.mc_id=`) at the end of it.
37
39
- Ensure that your links don't have country specific locale in them (i.e. `/en-us/` or `/en/`).
38
-
- Ensure that any URL from the following domains _github.com, microsoft.com, visualstudio.com, aka.ms, and azure.com_ has a tracking ID at the end of it (i.e. `?` or `&` then `wt.mc_id=` or `WT.mc_id=`).
39
40
- Ensure that all images are stored in the `./images` folder.
40
41
- Ensure that the images have descriptive names using English characters, numbers, and dashes in the name of your image.
41
42
@@ -66,17 +67,57 @@ When you type `./` or `../` VS code will prompt you to choose from the available
To fix this issue, try to open the file path that the workflow highlighted and add the tracking ID to the end of the URLs.
103
+
104
+
Once you add the tracking ID, save, and push your changes the workflow will be triggered again to verify your changes.
105
+
If you pass the check then you are good to go.
106
+
79
107
### Check URLs Don't Have Locale
80
108
81
109
This workflow ensures that any web URL doesn't have country specific locale in it.
82
110
This repository is available to everyone around the world so you need to make sure not to include your country's locale in URLs.
111
+
112
+
To make sure your URLs don't have country locale in them simply check for the following text `/en-us/` or `/en/` or any other language locale anywhere in the URL.
113
+
If it's not present in your URLs then you will pass this check.
0 commit comments