Repository navigation
Commit b71fd41
committed
Docs: pin every in-repo file link to a release tag instead of main
Links into blob/main break whenever a file moves — this migration being the proof — while tag-pinned links stay valid forever because tags are immutable. All six in-repo main-branch file references (the ThemeObject JSDoc pointer and five tailwind-merge doc links in the vite package docs) now pin v3.6.0 with its pre-monorepo paths: that is the newest tag whose tree actually contains the files, so the links work today and keep working after the merge, unlike the main-based packaged paths they replace, which would only have become valid at merge time.
AGENTS.md gains the standing rule: relative links within the repo, and where a link must be absolute (published docs, JSDoc, release notes), pin it to the latest release tag containing the file. The release guide gains the matching follow-up so it isn't forgotten: before @tailwind-merge/vite's first release, bump its docs' pinned tailwind-merge links from v3.6.0 to the freshly released tailwind-merge@<version> tag with packages/tailwind-merge/ paths, matching the version the plugin actually requires.1 parent ee29441 commit b71fd41
6 files changed
Lines changed: 8 additions & 6 deletions
File tree
- agents
- packages
- tailwind-merge/src/lib
- vite/docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments