Repository navigation
Commit 7cbdfdd
committed
fix: remove outdated version docs during nightly API docs generation
The nightly workflow generates docs for LTS + newest maintained versions,
but never removed directories for versions that dropped off that list.
This caused stale versions (e.g. 1.149, 1.150, 1.151) to accumulate on
the gh-pages branch and appear on the website with outdated patch levels.
Add a cleanup step that removes version directories no longer in the
detected set. The step only runs during auto-detect (scheduled) runs,
not manual dispatch, and is skipped entirely if version detection
returns empty (to avoid accidentally wiping everything).1 parent 6a1f277 commit 7cbdfdd
2 files changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
159 | 184 | | |
160 | 185 | | |
161 | 186 | | |
| |||
0 commit comments