-
-
Notifications
You must be signed in to change notification settings - Fork 25.9k
Suggestion for whats_new warning solution. #15288
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
Conversation
Can the labels be placed in its own file and then included at the top of the whats_new files? |
I'm okay to link rather than include. |
Sure... I think my sentence was unclear. What I meant is that the actual version allows you to visualize labelled modifications of the APIs, my suggestion doesn't. The legend is displayed anyway. |
I'm still not understanding in what way the proposal is deficient?
|
Well, that's perfect! Maybe you can approve it then! :) |
doc/whats_new.rst
Outdated
Latest Releases | ||
================= | ||
.. toctree:: | ||
:maxdepth: 3 |
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.
Why this choice of maxdepth? I'd consider less, or even to just make this part of the same listing as below.
8000There 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.
This was to keep more details about recent releases wrt the older ones, and stay close to the actual version in some way. maxdepth:3
gives you the list of the modules affected by modifications.
If this is usefulness I will change it.
I was considering something like this: cmarmo#3 |
Yeah, I'm not sure that distinguishing the latest releases is useful any
longer...
|
DOC Adds legend labels
Thanks @thomasjpfan, and sorry ... for some reason I didn't realize that you actually asked for this change. |
But, some new sphinx warnings are generated by cmarmo#3... :( |
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 think it is fine to keep each release change log separate. I think this improves web site maintainability. I don't think we need a "Latest releases" heading
All releases are now at the same level. I have also removed the big_toc_css: I did not like the big titles in a simple list. Let me know if you really prefer the old rendering.... |
Note that the sphinx warning has been added by b92455a#diff-981322da7c3c606f7c65889a9c77eda9 |
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.
Otherwise lgtm
doc/changelog_legend.inc
Outdated
@@ -0,0 +1,12 @@ | |||
Legend for changelogs |
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.
Why not put this file in the whats_new folder?
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.
Fixed... definitely cleaner, thanks.
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.
Thanks @cmarmo
Reference Issues/PRs
This pull request suggests a solution for sphinx warnings generated by double inclusion of some what's new files (See #11533).
What does this implement/fix? Explain your changes.
What's new for latest releases are no more included in
whats_new.rst
but added in a toctree (maxdepth 3).Any other comments?
PROs:
CONs:
whats_new.html