diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-02-06 10:37:06 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-02-07 09:52:06 -0500 |
commit | a32e5e1b970298590200c2a63e5d4bacce4355ac (patch) | |
tree | 034bd876bcfe3f21a3f47d1de8caf65caba9ebb3 /range.c | |
parent | f9a2802bc58b611a16108bbaf3473cb6195eac0d (diff) |
[DOC] Use RDoc link style for links in the same class/module
I used this regex:
(?<=\[)#(?:class|module)-([A-Za-z]+)-label-([A-Za-z0-9\-\+]+)
And performed a global find & replace for this:
rdoc-ref:$1@$2
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5530
Diffstat (limited to 'range.c')
-rw-r--r-- | range.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2213,11 +2213,11 @@ range_count(int argc, VALUE *argv, VALUE range) * * Here, class \Range provides methods that are useful for: * - * - {Creating a Range}[#class-Range-label-Methods+for+Creating+a+Range] - * - {Querying}[#class-Range-label-Methods+for+Querying] - * - {Comparing}[#class-Range-label-Methods+for+Comparing] - * - {Iterating}[#class-Range-label-Methods+for+Iterating] - * - {Converting}[#class-Range-label-Methods+for+Converting] + * - {Creating a Range}[rdoc-ref:Range@Methods+for+Creating+a+Range] + * - {Querying}[rdoc-ref:Range@Methods+for+Querying] + * - {Comparing}[rdoc-ref:Range@Methods+for+Comparing] + * - {Iterating}[rdoc-ref:Range@Methods+for+Iterating] + * - {Converting}[rdoc-ref:Range@Methods+for+Converting] * * === Methods for Creating a \Range * |