-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Move version info to sidebar #16255
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
Move version info to sidebar #16255
Conversation
@@ -49,51 +49,8 @@ oriented interface or via a set of functions familiar to MATLAB users. | |||
Documentation | |||
------------- | |||
|
|||
This is the documentation for Matplotlib version |version|. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've marked this as release critical for 2.2.5. With this change we will be able to show up-to-date release info even on the 2.2.5 docs in a nice way. Since 2.2.5 docs will stay relevant for a while because they are the last Python 2 compatible release; and I want to be able to display nice version info there. |
3b09e4f
to
36453e1
Compare
36453e1
to
cfb59d6
Compare
Reused the old javascript code as discussed in the call to keep maximum browser support. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love this PR, seriously! Should probably be pitched to a different PR, but since you're already touching it, would it be too much work to move the sponsor button to the top? It's getting pushed really far down between both version boxes.
I'd rather not move the donation link above the version infos. IMHO, the version info is more important and also what people are looking for much more often. Even including this change, the link won't be much more down compared to https://matplotlib.org/2.2.4/ because the search field moved into the nav bar. Additionally, it will move up again further with the planned change in #16253. Anyway, it should be visible without scrolling for all decent screen sizes. |
|
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work ! Hopefully your backport PR will be tested by the continuous integration and merged soon! If these instruction are inaccurate, feel free to suggest an improvement. |
…255-on-v3.2.x Backport PR #16255 on branch v3.2.x (Move version info to sidebar)
…255-on-v3.1.x Backport PR #16255 on branch v3.1.x (Move version info to sidebar)
…v2.2.x Backport PR #16255 on branch v2.2.x (Move version info to sidebar)
PR Summary
This is the first step of #16253.
It currently looks like this:

The contents will be adapted during the following steps.