Infra: Add version filter to PEP index #4811
Open
+282
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds a version filter to the PEP 0 index, allowing to only show PEPs relevant to the selected version.
This is especially useful for me right now, so I can check on the progress of PEPs for 3.15, and we can check for example if accepted PEPs have been implemented, and need marking as final.
Stores it in local storage, so the same filter applies the next time you visit (on that browser/machine). Not entirely sure about this, we could remove it so it resets on new visits/reloads?
📚 Documentation preview 📚: https://pep-previews--4811.org.readthedocs.build/