Replies: 5 comments 14 replies
-
Thanks for suggesting! I agree that this is a good idea which we should investigate. However, from the top of my head, there may be problems with content shift due to the fact that the Material for MkDocs painstakingly tries to minimize content shift and it does a very good job at that, so a possible solution for displaying a banner should not introduce this problem. |
Beta Was this translation helpful? Give feedback.
-
I converted this issue to a discussion, as I'd like to get some feedback before we decide whether and how we should implement it. Also note that there are problems with content shift that would need to be addressed somehow, as I stated in my last comment. |
Beta Was this translation helpful? Give feedback.
-
Adding my +1 to this feature suggestion.
This would be great indeed for UX. That said, in my case it's much more important to notify users that they are looking at an old version of the content, even if this required content shifting for older versions. As I understand, no shift would happen for the 'latest' version this shift shouldn't happen, and (in my case) the great majority of traffic is for the latest version. |
Beta Was this translation helpful? Give feedback.
-
I agree with @miguno, a small content shift is preferable to users browsing the wrong documentation version. Is it possible to achieve no shift? One approach would be to have A popup would be another alternative but people dislike those more than content shifts I'd guess. |
Beta Was this translation helpful? Give feedback.
-
The version warning feature is now available! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to suggest an idea and checked that ...
Description
Create a banner at the top of each page on old versions of the docs (when managed by
mike
) that point to the latest (most recent) versionUse Cases
Whenever a user lands on an old docs page, they can be redirected to the most recent version like
readthedocs
Screenshots / Mockups
There are some suggestions in this issue jimporter/mike#26 (see screenshot below)
There could be a flag to activate this feature on every version (and its aliases) except for the most recent one based on
mike
'sversions.json
indexes:The actual content and look and feel could be customizable like the announcement section of the theme
Beta Was this translation helpful? Give feedback.
All reactions