-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fix element map so changelog rows are handled correctly #146
Conversation
Hmm, wouldn't that revert bacc87c? @sy-records can you check? |
Yeah, I'm really not quite sure what is going here. Without my change, Looks like we have one map that is trying to handle |
Okay, figured out how to solve the issue. When With this the changelog is rendered and the other things shouldn't change. The sorting/grouping of the changelog is less than ideal because a change across multiple versions ("8.0.21, 8.1.8, 8.2.0", for example) will get sorted only with that first version number. What we could do is when saving things to the |
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 tested it.
LGTM.
This means the changelog page goes from 317K to 329K (as chunked-XHTML) due to the duplication it creates but I think that the changelog shown by version is more useful this way.
Pushed a change to the PR to do that version splitting. Together with the cleanup in php/doc-en#3672, this results in a |
Actually, the current documentation shouldn't care about PHP 5 anymore. |
Opened php/doc-base#146 to bump up it up to 7.0.0. That shaves off ~8K. |
Could you also add a test showing how the changelog entries are now indexed and another one that shows that whatever was not properly linked after the first commit is now being linked correctly? |
Will merge this once php/doc-en#3672 is approved and merged, I'd rather not merge this and end up with the messy changelog that results without those cleanups. |
https://www.php.net/manual/en/doc.changelog.php is empty because this was backwards and changelog entries weren't actually being indexed.