devdocs icon indicating copy to clipboard operation
devdocs copied to clipboard

New docs for old version disables newer version

Open davidgilbertson opened this issue 3 years ago • 0 comments

Bug report

NumPy just released some change to their 1.22.4 docs, but I was already on the 1.23.0 docs. image

OS information

Windows 11

Possible fix

Frankly it's probably barely worth fixing, but thought you might like to know :)

I'm guessing the disabling mechanism is based on 'last updated date', not version number, is that right?

If so, the fix to use version number would probably require a followsSemver flag for each project because I'm sure some have funky versioning. Or maybe a global versionToInt function that takes the project and version has all the logic for returning a single number that is always higher for newer versions, incorporating all special logic for sloppy-versioned projects.

davidgilbertson avatar Oct 04 '22 19:10 davidgilbertson