diff options
author | Peter Zhu <[email protected]> | 2022-02-06 10:30:11 -0500 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2022-02-07 09:52:06 -0500 |
commit | f9a2802bc58b611a16108bbaf3473cb6195eac0d (patch) | |
tree | a635324e276be2aad20146459287c69ae1388eef /hash.c | |
parent | ecd469fad00611a947aecc6e1e914682d1eec65c (diff) |
[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
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5530
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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: * |