From a32e5e1b970298590200c2a63e5d4bacce4355ac Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Sun, 6 Feb 2022 10:37:06 -0500 Subject: [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 --- range.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'range.c') diff --git a/range.c b/range.c index 8d8fe11991..0acbc36045 100644 --- a/range.c +++ b/range.c @@ -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 * -- cgit v1.2.1