|
45 | 45 | **Instructions:** |
46 | 46 | 1. Scan all MDX and MD files in the repository |
47 | 47 | 2. Check for the following types of links: |
48 | | - - Internal relative links (e.g., `/components/cards`, `../guides/intro`) |
49 | | - - External links (e.g., `https://example.com`) |
50 | | - - Anchor links (e.g., `#section-name`) |
| 48 | + - Internal relative links (e.g., /components/cards, ../guides/intro) |
| 49 | + - External links (e.g., https://example.com) |
| 50 | + - Anchor links (e.g., #section-name) |
51 | 51 |
|
52 | 52 | **For each broken link found, automatically apply the fix:** |
53 | 53 | - **For typos**: Correct the spelling/path |
|
66 | 66 |
|
67 | 67 | **Link Checking Rules:** |
68 | 68 | - Internal links should point to existing files |
69 | | - - Internal links should use relative paths starting from root (e.g., `/api/reference`) |
| 69 | + - Internal links should use relative paths starting from root (e.g., /api/reference) |
70 | 70 | - External links should return valid HTTP responses (not 404, 500, etc.) |
71 | 71 | - Skip checking localhost links |
72 | 72 | - Skip checking example.com or placeholder domains |
@@ -132,27 +132,27 @@ jobs: |
132 | 132 | # Create PR description with details from Claude's analysis |
133 | 133 | PR_BODY="## Automated Broken Link Fixes |
134 | 134 |
|
135 | | -This PR contains automated fixes for broken links detected by the scheduled workflow. |
| 135 | + This PR contains automated fixes for broken links detected by the scheduled workflow. |
136 | 136 |
|
137 | | -### Changes Made: |
138 | | -- π Fixed internal broken links |
139 | | -- π Updated references to moved/renamed files |
140 | | -- π Resolved external link issues |
141 | | -- βοΈ Corrected typos in link paths |
142 | | -- π Added comments for links requiring manual review |
| 137 | + ### Changes Made: |
| 138 | + - π Fixed internal broken links |
| 139 | + - π Updated references to moved/renamed files |
| 140 | + - π Resolved external link issues |
| 141 | + - βοΈ Corrected typos in link paths |
| 142 | + - π Added comments for links requiring manual review |
143 | 143 |
|
144 | | -### Review Instructions: |
145 | | -Please review the changes to ensure: |
146 | | -1. All link fixes point to valid destinations |
147 | | -2. Link text remains appropriate for new URLs |
148 | | -3. Commented links are addressed appropriately |
149 | | -4. No content meaning was changed |
| 144 | + ### Review Instructions: |
| 145 | + Please review the changes to ensure: |
| 146 | + 1. All link fixes point to valid destinations |
| 147 | + 2. Link text remains appropriate for new URLs |
| 148 | + 3. Commented links are addressed appropriately |
| 149 | + 4. No content meaning was changed |
150 | 150 |
|
151 | | -### Files Modified: |
152 | | -Check the Files changed tab for a complete list of modifications. |
| 151 | + ### Files Modified: |
| 152 | + Check the Files changed tab for a complete list of modifications. |
153 | 153 |
|
154 | | ---- |
155 | | -*This PR was automatically generated by the dead links checker workflow.*" |
| 154 | + --- |
| 155 | + *This PR was automatically generated by the dead links checker workflow.*" |
156 | 156 |
|
157 | 157 | # Create the PR using GitHub CLI |
158 | 158 | gh pr create \ |
|
0 commit comments