Commit 3f47581
docsy(v2): record retired pins, and deploy their redirects from that (#1507)
Seeds `retired` with the four pins already retired plus v2.6.2.0, which the next
cut retires. Their redirect rows are removed from redirects.csv in
unionai-docs-infra#TBD and derived from this list instead, so a pin's retirement
and its redirect can no longer drift apart -- they are one edit now.
The workflow fires on versions.toml as well as the submodule pointer, because a
change to `retired` changes the deployed set exactly as a CSV edit does, and
fetches both branches because the deploy reads both lines.
Seeding v2.6.2.0 before its cut merges means it redirects while its tree is still
published, which is deliberate: the alternative ordering leaves 404s, and it
resolves when the cut lands. Same trade as the v2.6.1.0 row.
Verified by dry run: 8,760 redirect sources before, 8,761 after, the addition
being v2.6.2.0. Nothing lost, no duplicate sources.
DOC-1497.
Signed-off-by: Peeter Piegaze <1153481+ppiegaze@users.noreply.github.com>
Co-authored-by: docsy <docsy@union.ai>1 parent 134268b commit 3f47581
2 files changed
Lines changed: 28 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
57 | 64 | | |
58 | 65 | | |
59 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
60 | 73 | | |
61 | 74 | | |
62 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments