pallets / werkzeug

The comprehensive WSGI web application library.
https://werkzeug.palletsprojects.com
BSD 3-Clause "New" or "Revised" License
6.66k stars 1.74k forks source link

Werkzeug docs redirects always to stable #2972

Closed gaborbernat closed 3 weeks ago

gaborbernat commented 3 weeks ago
❯ wget https://werkzeug.palletsprojects.com/en/2.3.x/objects.inv
--2024-10-28 08:32:07--  https://werkzeug.palletsprojects.com/en/2.3.x/objects.inv
302 Found
Location: https://werkzeug.palletsprojects.com/en/stable/objects.inv [following]
--2024-10-28 08:32:08--  https://werkzeug.palletsprojects.com/en/stable/objects.inv
Reusing existing connection to werkzeug.palletsprojects.com:443.
Proxy request sent, awaiting response... 200 OK
Length: 5282 (5.2K) [application/octet-stream]
Saving to: ‘objects.inv’

objects.inv                                 100%[=========================================================================================>]   5.16K  --.-KB/s    in 0s
2024-10-28 08:32:08 (26.1 MB/s) - ‘objects.inv’ saved [5282/5282]
❯ wget https://werkzeug.palletsprojects.com/en/3.0.x/objects.inv
--2024-10-28 08:32:27--  https://werkzeug.palletsprojects.com/en/3.0.x/objects.inv
302 Found
Location: https://werkzeug.palletsprojects.com/en/stable/objects.inv [following]
--2024-10-28 08:32:28--  https://werkzeug.palletsprojects.com/en/stable/objects.inv
Reusing existing connection to werkzeug.palletsprojects.com:443.
Proxy request sent, awaiting response... 200 OK
Length: 5282 (5.2K) [application/octet-stream]
Saving to: ‘objects.inv.1’

objects.inv.1                               100%[=========================================================================================>]   5.16K  --.-KB/s    in 0s

2024-10-28 08:32:28 (18.5 MB/s) - ‘objects.inv.1’ saved [5282/5282]

All of them can't be stable at all times, can it?

davidism commented 3 weeks ago

That's intentional. I've reduced the builds so we only manage latest and stable now. Maintaining the builds for all those old versions, especially with recent RtD changes breaking all our historic builds from working, was becoming untennable for me. I added redirects so existing links wouldn't break.

gaborbernat commented 3 weeks ago

Unfortunate either way 🙂 thanks for clarifying.