diff options
author | Peter Zhu <[email protected]> | 2022-02-06 10:37:06 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2022-02-07 09:52:06 -0500 |
commit | a32e5e1b970298590200c2a63e5d4bacce4355ac (patch) | |
tree | 034bd876bcfe3f21a3f47d1de8caf65caba9ebb3 /numeric.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 'numeric.c')
-rw-r--r-- | numeric.c | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -962,9 +962,9 @@ num_negative_p(VALUE num) * * Here, class \Float provides methods for: * - * - {Querying}[#class-Float-label-Querying] - * - {Comparing}[#class-Float-label-Comparing] - * - {Converting}[#class-Float-label-Converting] + * - {Querying}[rdoc-ref:Float@Querying] + * - {Comparing}[rdoc-ref:Float@Comparing] + * - {Converting}[rdoc-ref:Float@Converting] * * === Querying * @@ -3499,10 +3499,10 @@ rb_num2ull(VALUE val) * * Here, class \Integer provides methods for: * - * - {Querying}[#class-Integer-label-Querying] - * - {Comparing}[#class-Integer-label-Comparing] - * - {Converting}[#class-Integer-label-Converting] - * - {Other}[#class-Integer-label-Other] + * - {Querying}[rdoc-ref:Integer@Querying] + * - {Comparing}[rdoc-ref:Integer@Comparing] + * - {Converting}[rdoc-ref:Integer@Converting] + * - {Other}[rdoc-ref:Integer@Other] * * === Querying * @@ -6104,10 +6104,10 @@ int_s_try_convert(VALUE self, VALUE num) * * Here, class \Numeric provides methods for: * - * - {Querying}[#class-Numeric-label-Querying] - * - {Comparing}[#class-Numeric-label-Comparing] - * - {Converting}[#class-Numeric-label-Converting] - * - {Other}[#class-Numeric-label-Other] + * - {Querying}[rdoc-ref:Numeric@Querying] + * - {Comparing}[rdoc-ref:Numeric@Comparing] + * - {Converting}[rdoc-ref:Numeric@Converting] + * - {Other}[rdoc-ref:Numeric@Other] * * === Querying * |