diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-02-06 10:30:11 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-02-07 09:52:06 -0500 |
commit | f9a2802bc58b611a16108bbaf3473cb6195eac0d (patch) | |
tree | a635324e276be2aad20146459287c69ae1388eef /struct.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 'struct.c')
-rw-r--r-- | struct.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1562,8 +1562,8 @@ rb_struct_dig(int argc, VALUE *argv, VALUE self) * * First, what's elsewhere. \Class \Struct: * - * - 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 \Struct provides methods that are useful for: |