Skip to content

Add outdated version warning #185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 2, 2025

Conversation

danyeaw
Copy link
Contributor

@danyeaw danyeaw commented Jul 1, 2025

As suggested by @kattni (ty!) during a community call, it is currently easy for users to find a version of our docs that aren't the latest version. This PR adds an outdated mkdocs extension to show a warning with a link to view the latest version. I was trying to go for clear but slightly playful on the message - open to different wording as well.

Screenshot 2025-07-01 at 5 32 50 PM

I tested this locally with:

mike deploy 2025.7.1 latest
mike deploy 2024.12.1 old
mike set-default latest
mike serve

Copy link
Contributor

@WebReflection WebReflection left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@danyeaw
Copy link
Contributor Author

danyeaw commented Jul 2, 2025

Thanks @WebReflection for reviewing. I don't have write access to this repo, so you'll have to merge it as well.

@WebReflection WebReflection merged commit cb5e242 into pyscript:main Jul 2, 2025
@danyeaw danyeaw deleted the old-version-warning branch July 3, 2025 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants