From f9a2802bc58b611a16108bbaf3473cb6195eac0d Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Sun, 6 Feb 2022 10:30:11 -0500 Subject: [DOC] Use RDoc link style for links to other classes/modules I used this regex: ([A-Za-z]+)\.html#(?:class|module)-[A-Za-z]+-label-([A-Za-z0-9\-\+]+) And performed a global find & replace for this: rdoc-ref:$1@$2 --- numeric.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numeric.c') diff --git a/numeric.c b/numeric.c index 20ad13d4c2..7f70b02dad 100644 --- a/numeric.c +++ b/numeric.c @@ -958,7 +958,7 @@ num_negative_p(VALUE num) * * First, what's elsewhere. \Class \Float: * - * - Inherits from {class Numeric}[Numeric.html#class-Numeric-label-What-27s+Here]. + * - Inherits from {class Numeric}[rdoc-ref:Numeric@What-27s+Here]. * * Here, class \Float provides methods for: * @@ -3495,7 +3495,7 @@ rb_num2ull(VALUE val) * * First, what's elsewhere. \Class \Integer: * - * - Inherits from {class Numeric}[Numeric.html#class-Numeric-label-What-27s+Here]. + * - Inherits from {class Numeric}[rdoc-ref:Numeric@What-27s+Here]. * * Here, class \Integer provides methods for: * @@ -6099,8 +6099,8 @@ int_s_try_convert(VALUE self, VALUE num) * * First, what's elsewhere. \Class \Numeric: * - * - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here]. - * - Includes {module Comparable}[Comparable.html#module-Comparable-label-What-27s+Here]. + * - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here]. + * - Includes {module Comparable}[rdoc-ref:Comparable@What-27s+Here]. * * Here, class \Numeric provides methods for: * -- cgit v1.2.3