-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Reorganize the changelog and the way it's displayed in the doc #6688
Reorganize the changelog and the way it's displayed in the doc #6688
Conversation
@DanielNoord this is a draft but please let me know what you think of the new TOC for the changelog :) |
Pull Request Test Coverage Report for Build 2454606962
💛 - Coveralls |
2bd64ce
to
ea0c1b2
Compare
I like the separation of the different major version in the sidebar. However, I don't really like how there are 3/4 different pages for one version. Taking The amount of pages also doesn't really correspond with the amount of links in the sidebar. Which is somewhat confusing. My suggestion would be one page for every minor version which starts with the current |
It's not generated I did everything manually, so I can't use 'get_rst_title' maybe we could transform the changelog to JSON so it's easier to generate and we have proper link to issues.. ? I'm not sure it's worth it though. We'd need a one off script to convert to JSON and a script to generate from JSON for a changelog that would never change. Maybe we could use the JSON for everything even the new changelogs ? |
Ah, we could also just change the headings. Sphinx decides the headers based on the order they occur on. 2.13
###
2.13.0
-----
New checkers
^^^^^^^^^^^ We will get different |
Let's work the structure on 2.13 only then when we're satisfied let's do the rest. |
ea0c1b2
to
bc29b83
Compare
I pushed a new version with only 2.13 modified, not very satisfied to be honest, let me know what you think :). |
I think this is definitely an improvement. Only thing I would change is to remove this page: |
Do you know how we can still have the dropdown for the link ? (We have a flat link and no navigation in the left toc bar if we do that. |
@Pierre-Sassoulas I think a |
9d3e177
to
148b4d9
Compare
All right, I fixed 2.13 and modified 2.12 too, I prefer the 2.12 version because the full changelog and summary are separated like they were before (It's handy when there is a duplicated link so we don't have to modify the current changelog to avoid an error, but also make sense as they were supposed to be separated). I think otherwise it's identical. Let me know what you think :) |
5478e5d
to
e32ef86
Compare
I think we should merge the two first point of the TODO so we don't have rebase conflict when something new end up in 2.14 changelog while we figure out the new changelog. |
I don't really see the difference between I was thinking of removing the |
In 2.12 the full changelog and what's new's summary are each on their own page. (In 2.13 I had to merge the two and fix an issue with a link that was duplicated).
It's making a flat link on the left TOC, I've tried for maybe 30mn before giving up 😄 |
I like the single page better. Whenever you're opening old changelogs you're likely looking for something specific. So being Abel to search on one page instead of two is better imo.
Hm, that's annoying. I might have a look as well. |
But the full changelog contain everything, right ? So you can search in the full changelog only and get your result, (or on the full website with the global search) |
Yeah, I just don't understand while we would want to separate related information across multiple pages/files. With this change you also lose the ability to search within the |
I'm going to apply 2.12 example everywhere and open another MR for this so we can merge asap an stop having conflict on |
e32ef86
to
fb0f2dd
Compare
Blocked by #6735 |
This comment has been minimized.
This comment has been minimized.
9925f0e
to
38a4472
Compare
This comment has been minimized.
This comment has been minimized.
@@ -42,3 +42,5 @@ Other Changes | |||
|
|||
Internal changes | |||
================ | |||
|
|||
* Added a check in CI for changelogs entry (#6688) |
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.
The question here is should we keep the old format with:
* Fix a regression where messages with dash are not fully parsed
Closes #3604
Or is * Fix a regression where messages with dash are not fully parsed (#3604)
better ? Sometime we might want to be more detailed use multiple line ? Note that #3604 was an issue number but we would use the PR number now (It was just a commit at the time ffb354a but now we can't push to main so there's always a PR)
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.
Let's keep the old system. It brings some uniformity to all changelogs and is also easier to parse the data programatically.
The follow-up will be #6781 but adding the CI check asap is important imo. |
@Pierre-Sassoulas I'll review this in a minute, but could you look into #6787 (comment) |
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, labeled, unlabeled, reopened] |
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.
Is there anything we exclude here? Can't it just be on: pull_request
?
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.
It needs to have labeled and unlabeled because if we add or remove "skip news" the pipeline result is not the same.
types: [opened, synchronize, labeled, unlabeled, reopened] | ||
|
||
permissions: | ||
contents: read |
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 believe this is automatic.
@@ -42,3 +42,5 @@ Other Changes | |||
|
|||
Internal changes | |||
================ | |||
|
|||
* Added a check in CI for changelogs entry (#6688) |
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.
Let's keep the old system. It brings some uniformity to all changelogs and is also easier to parse the data programatically.
38a4472
to
8d2d094
Compare
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉This comment was generated for commit 8d2d094 |
I'm closing this in favor of #6875. @DudeNr33 you could take some inspiration from the changelog pipeline, I think instead of a regex to check on the changelog we need to check that the description exists in the issue but everything around it could be the same. the other script is a one time script to fix the old changelog, we don't need to merge it as it's not going to be used for new changelogs. |
Type of Changes
Description
This is a work in progress to discuss the reorganisation of the changelog. TODO:
Propagate the change to astroid (?!)Closes #5728