-
Notifications
You must be signed in to change notification settings - Fork 49
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
how to show "you not reading the most recent version of this documentation" if I read old doc #480
Comments
Great idea! I don't think that this should be too hard to implement, first we need to fix some bugs in the upcoming release. |
Ok, so I did that, and it's certainly possible, even though it might be a bit tricky to manage the iframe height: So I thought maybe it'd make more sense to just pop up a banner and let it disappear again like this: @randombenj @larrycai What do you think? |
Yes! I would propose to show the banner, and the user has to explicitly click the x to close it. |
@randombenj Fair, I can do that 👍 |
When the user is not on the latest version of a documentation, a warning banner pops up. I had to restructure the MessageBannerProvider a bit for that to work, but I think it's cleaner now. Fixes: #480
Looks perfect, will u release it as |
I tested, it works as expected (no link to latest is ok for me) BTW: in the help, there is no version for docat, little bit tricky to know which version is used. |
this is common pattern for doc system, to show hints that you are reading the old doc
Like https://sphinx-rtd-theme.readthedocs.io/en/1.1.1/ , then I got notes
Do we possible to have this feature in header/footer already
The text was updated successfully, but these errors were encountered: