docsbuild-scripts icon indicating copy to clipboard operation
docsbuild-scripts copied to clipboard

After a major release we miss a PURGE on documentation_options.js

Open JulienPalard opened this issue 4 years ago • 1 comments

If https://docs.python.org/3/_static/documentation_options.js is nor purged, the page displays the proper version but the JS tells another one, so the version switcher picks the wrong version, leading to some confusion.

JulienPalard avatar Oct 06 '21 08:10 JulienPalard

For the record:

curl -XPURGE https://docs.python.org/{en,es,fr,id,ja,ko,pt-br,zh-cn,zh-tw,pl}/{2.7,3.5,3.6,3.7,3.8,3.9,3.10}/_static/documentation_options.js

does it for all versions and all languages.

JulienPalard avatar Oct 06 '21 09:10 JulienPalard

The purge() function now purges all changed files.

A

AA-Turner avatar Sep 25 '24 14:09 AA-Turner