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 --- hash.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hash.c') diff --git a/hash.c b/hash.c index 06b4652cde..ece9adee06 100644 --- a/hash.c +++ b/hash.c @@ -7014,8 +7014,8 @@ static const rb_data_type_t env_data_type = { * * First, what's elsewhere. \Class \Hash: * - * - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here]. - * - Includes {module Enumerable}[Enumerable.html#module-Enumerable-label-What-27s+Here], + * - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here]. + * - Includes {module Enumerable}[rdoc-ref:Enumerable@What-27s+Here], * which provides dozens of additional methods. * * Here, class \Hash provides methods that are useful for: @@ -7327,8 +7327,8 @@ Init_Hash(void) * * First, what's elsewhere. \Class \ENV: * - * - Inherits from {class Object}[Object.html#class-Object-label-What-27s+Here]. - * - Extends {module Enumerable}[Enumerable.html#module-Enumerable-label-What-27s+Here], + * - Inherits from {class Object}[rdoc-ref:Object@What-27s+Here]. + * - Extends {module Enumerable}[rdoc-ref:Enumerable@What-27s+Here], * * Here, class \ENV provides methods that are useful for: * -- cgit v1.2.1