Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Fix matching for version switcher#28644

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
QuLogic merged 1 commit intomatplotlib:mainfromQuLogic:fix-version-match
Aug 2, 2024

Conversation

QuLogic
Copy link
Member

PR summary

A released version should point to its version, not 'stable', since that doesn't appear in the version switcher. And devdocs should point to 'dev', since that's what it's called in the JSON.

Note that in our JSON, we only list up to meso versions, though the version is noted in full. This means that older micro versions will not have an entry in the switcher, and the switcher will not be set to anything if you go there, but that's probably fine.

PR checklist

A released version should point to its version, not 'stable', since thatdoesn't appear in the version switcher. And devdocs should point to'dev', since that's what it's called in the JSON.
@github-actionsgithub-actionsbot added the Documentation: buildbuilding the docs labelAug 1, 2024
Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up!

@story645
Copy link
Member

Is it supposed to behave like this on mobile?
https://github.com/user-attachments/assets/61c146c9-9032-4074-960d-38335676017f

@QuLogic
Copy link
MemberAuthor

This PR would only affect devdocs and the next release. I'm not sure what else you're pointing out in the video.

@story645
Copy link
Member

I'm not sure what else you're pointing out in the video.

That everything else is broken in a way that's really confusing UX.

This means that older micro versions will not have an entry in the switcher, and the switcher will not be set to anything if you go there

I think I had read this to mean no switcher on those pages, not switcher that I can't change on those pages.

@QuLogic
Copy link
MemberAuthor

I'm not sure what else you're pointing out in the video.

That everything else is broken in a way that's really confusing UX.

This PR doesn't affect any published pages. They were already broken (as in the linked issue).

This means that older micro versions will not have an entry in the switcher, and the switcher will not be set to anything if you go there

I think I had read this to mean no switcher on those pages, not switcher that I can't change on those pages.

No, it means that the switcher won't be set to anything, not that it won't work. Only the latest micro is listed, so 3.8.4 will show 3.8, but if you go to the 3.8.3 page, the switcher will be unset. However, you can only get to 3.8.3 manually, the switcher would not point you there.

@story645
Copy link
Member

No, it means that the switcher won't be set to anything, not that it won't work.

So should have explained this better, but in those screen caps the switcher doesn't work/drop down, I have to instead click on the docs, which I think is why I end up clicking on the docs link which gets me to the micro.

@tacaswell
Copy link
Member

Do we need to go back and fix the matching in older published versions?

@tacaswelltacaswell added this to thev3.9-doc milestoneAug 2, 2024
Copy link
Member

@tacaswelltacaswell left a comment

Choose a reason for hiding this comment

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

Can self merge after sorting out if this should be backported.

@QuLogic
Copy link
MemberAuthor

Do we need to go back and fix the matching in older published versions?

See#28639 (comment)

So should have explained this better, but in those screen caps the switcher doesn't work/drop down, I have to instead click on the docs, which I think is why I end up clicking on the docs link which gets me to the micro.

This seems to only affect 3.8, for some reason, though it's fine on the desktop site.

@QuLogicQuLogic merged commitadb97e8 intomatplotlib:mainAug 2, 2024
30 of 31 checks passed
@QuLogicQuLogic deleted the fix-version-match branchAugust 2, 2024 05:28
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 2, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestAug 2, 2024
@QuLogic
Copy link
MemberAuthor

So should have explained this better, but in those screen caps the switcher doesn't work/drop down, I have to instead click on the docs, which I think is why I end up clicking on the docs link which gets me to the micro.

This seems to only affect 3.8, for some reason, though it's fine on the desktop site.

Should be fixed bymatplotlib/matplotlib.github.com@0f5cb9b

story645 reacted with heart emoji

tacaswell added a commit that referenced this pull requestAug 2, 2024
…644-on-v3.9.xBackport PR#28644 on branch v3.9.x (DOC: Fix matching for version switcher)
tacaswell added a commit that referenced this pull requestAug 2, 2024
…644-on-v3.9.1-docBackport PR#28644 on branch v3.9.1-doc (DOC: Fix matching for version switcher)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
Documentation: buildbuilding the docs
Projects
None yet
Milestone
v3.9-doc
Development

Successfully merging this pull request may close these issues.

[Doc]: Version switcher is broken
4 participants
@QuLogic@story645@tacaswell@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp