Skip to content

[pull] master from ruby:master#105

Merged
pull[bot] merged 1 commit intosysfce2:masterfrom
ruby:master
Dec 21, 2025
Merged

[pull] master from ruby:master#105
pull[bot] merged 1 commit intosysfce2:masterfrom
ruby:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Dec 21, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Fixes #1014

Some aliased class/module document had wrong title.
Example: https://docs.ruby-lang.org/en/master/Net/HTTP.html
Title should be `class Net::HTTP`, Not `class Net::HTTPSession`.

```ruby
# Source
module Net
  class HTTP
    ...
  end
  HTTPSession = HTTP
  deprecate_constant :HTTPSession
end
```

RDoc first generates `Net/HTTP.html` with the correct content, and then
overwrite the same file with aliased-name content.

Fixes:
- Stop aliased class/module document file overwrite original one.
- Fix aliasing-to-toplevel check (because test failed with the above
change).

Documents of `ruby/ruby` that will change:
```
DidYouMean/Formatter.html
  Title change from DidYouMean::VerboseFormatter
Net/HTTP.html
  Title change from Net::HTTPSession
Net/HTTPFound.html
  Title change from Net::HTTPMovedTemporarily
Net/HTTPPayloadTooLarge.html
  Title change from Net::HTTPRequestEntityTooLarge
Net/HTTPRangeNotSatisfiable.html
  Title change from Net::HTTPRequestedRangeNotSatisfiable
Net/HTTPRequestURITooLong.html
  Title was Net::HTTPRequestURITooLarge, file deleted
OpenSSL/PKey/PKeyError.html
  Title change from OpenSSL::PKey::RSAError
Prism/Translation/Parser33.html
  Title change from Prism::Translation::ParserCurrent
```
@pull pull bot locked and limited conversation to collaborators Dec 21, 2025
@pull pull bot added the ⤵️ pull label Dec 21, 2025
@pull pull bot merged commit 09630a0 into sysfce2:master Dec 21, 2025
2 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant