Skip to content
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

Remove "Past versions" section from release notes #27690

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

timhoffm
Copy link
Member

This came in via #21251 and I vaguely remember it had a purpose (possibly something with navigation / what is rendered in the sidebars?) However, in the
current docs, it looks rather useless: https://matplotlib.org/devdocs/users/release_notes.html

Ping @jklymak do you remember why you added a "Past versions" section?

This came in via matplotlib#21251 and I vaguely remember it had
a purpose (possibly something with navigation / what
is rendered in the sidebars?) However, in the
current docs, it looks rather useless.
https://matplotlib.org/devdocs/users/release_notes.html
@story645
Copy link
Member

That PR was milestoned for 3.5, so the past version sets off every release before then...looks like we don't ever move it though like I think we were supposed to. 😬

Copy link
Member

@story645 story645 left a comment

Choose a reason for hiding this comment

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

Will give @jklymak chance to chime in, but this looks like a "maintained version" marker that we don't bother to update and therefore I agree on removing it.

@jklymak
Copy link
Member

jklymak commented Jan 24, 2024

I think it was because the left-hand navigation ends up a huge wall of text. But I don't feel strongly about it.

@timhoffm
Copy link
Member Author

The section does not influence the left sidebar. According to https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/layout.htmlthe sidebar contains links between pages in the active section, which is "Release notes " here. So the only way of reducing the wall would be to reorganize the sub pages.

@timhoffm
Copy link
Member Author

I'm merging because the sectioning does not help. I've opened pydata/pydata-sphinx-theme#1680 to find out whether there's a solution to the sidebar mess.

@timhoffm timhoffm added this to the v3.9.0 milestone Jan 24, 2024
@timhoffm timhoffm merged commit f0c4c41 into matplotlib:main Jan 24, 2024
22 of 23 checks passed
@timhoffm timhoffm deleted the doc-past-versions branch January 24, 2024 09:36
timhoffm added a commit to timhoffm/matplotlib that referenced this pull request Feb 16, 2024
The release note page is only a structured collection of links to
sub-pages. The sidebar would repeat all the titles of the sub-pages and
thus basically repeat all the content of the page. Even worse, it does
not contain the version sectioning structure of the release notes page
itself. It's thus best to deactivate the sidebar here.

Related to matplotlib#27690 (comment)
timhoffm added a commit to timhoffm/matplotlib that referenced this pull request Feb 18, 2024
The release note page is only a structured collection of links to
sub-pages. The sidebar would repeat all the titles of the sub-pages and
thus basically repeat all the content of the page. Even worse, it does
not contain the version sectioning structure of the release notes page
itself. To keep the layout the sidebar gets one empty dummy section.
If we leave the sidebar completely empty, it will be deactivated and
change the layout of the page.

Related to matplotlib#27690 (comment)
Impaler343 pushed a commit to Impaler343/matplotlib that referenced this pull request Mar 8, 2024
The release note page is only a structured collection of links to
sub-pages. The sidebar would repeat all the titles of the sub-pages and
thus basically repeat all the content of the page. Even worse, it does
not contain the version sectioning structure of the release notes page
itself. To keep the layout the sidebar gets one empty dummy section.
If we leave the sidebar completely empty, it will be deactivated and
change the layout of the page.

Related to matplotlib#27690 (comment)
Impaler343 pushed a commit to Impaler343/matplotlib that referenced this pull request Mar 14, 2024
The release note page is only a structured collection of links to
sub-pages. The sidebar would repeat all the titles of the sub-pages and
thus basically repeat all the content of the page. Even worse, it does
not contain the version sectioning structure of the release notes page
itself. To keep the layout the sidebar gets one empty dummy section.
If we leave the sidebar completely empty, it will be deactivated and
change the layout of the page.

Related to matplotlib#27690 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants