Conversation
|
Tested this on a few core/stdlib methods and it worked well! 👍 |
|
One issue that's not directly related but should be worth noting is it fails to work on I know it doesn't start with (the example is from |
|
Might be valid... but it might need to be changed just to fit this PR. Frankly I don't care as long as |
|
Would it be possible to expand the references inline like detailed in #1097 (comment) ? That would make ri usable again for such cases and be very similar to what used to be before these extractions. |
|
@eregon My understanding is that many of the extracted pages are much longer than the original segments. For example, |
|
It's a good point. Since I never saw that expanded document with Or the Packed Data document should have a summary table similar to https://docs.ruby-lang.org/en/3.1/Array.html#method-i-pack at the top, that could be a good compromise I think. In that context of very long references, I agree, expanding the rdoc-ref at the end is probably better indeed. |
There have been several document refactors in ruby/ruby that extract individual methods/classes' documentation into separate files, like ruby/ruby#6567 Because RI is not capable of rendering those references, RI users are left with dramatically fewer documentation on those methods/classes. This commit adds a new option `--expand-ref` (default: true) to expand all the rdoc-ref targets at the end of the output.
(ruby/rdoc#1141) There have been several document refactors in ruby/ruby that extract individual methods/classes' documentation into separate files, like #6567 Because RI is not capable of rendering those references, RI users are left with dramatically fewer documentation on those methods/classes. This commit adds a new option `--expand-ref` (default: true) to expand all the rdoc-ref targets at the end of the output. ruby/rdoc@9e2b28c6e3
|
@adam12 @zenspider @eregon I've released this feature in RDoc 6.9.0. Can you give it a try to see if there's any issue? |
|
This seems to work nicely, thanks! |
|
Ref: PR to add back the concise table for pack/unpack docs: ruby/ruby#12349 |
There have been several document refactors in ruby/ruby that extract individual methods/classes' documentation into separate files, like ruby/ruby#6567
Because RI is not capable of rendering those references, RI users are left with dramatically fewer documentation on those methods/classes.
This commit adds a new option
--expand-ref(default: true) to expand all the rdoc-ref targets at the end of the output.Closes #1097