diff options
author | Peter Zhu <peter@peterzhu.ca> | 2022-02-06 10:37:06 -0500 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-02-07 09:52:06 -0500 |
commit | a32e5e1b970298590200c2a63e5d4bacce4355ac (patch) | |
tree | 034bd876bcfe3f21a3f47d1de8caf65caba9ebb3 /enum.c | |
parent | f9a2802bc58b611a16108bbaf3473cb6195eac0d (diff) |
[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
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5530
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -4650,12 +4650,12 @@ enum_compact(VALUE obj) * == What's Here * * \Module \Enumerable provides methods that are useful to a collection class for: - * - {Querying}[#module-Enumerable-label-Methods+for+Querying] - * - {Fetching}[#module-Enumerable-label-Methods+for+Fetching] - * - {Searching}[#module-Enumerable-label-Methods+for+Searching] - * - {Sorting}[#module-Enumerable-label-Methods+for+Sorting] - * - {Iterating}[#module-Enumerable-label-Methods+for+Iterating] - * - {And more....}[#module-Enumerable-label-Other+Methods] + * - {Querying}[rdoc-ref:Enumerable@Methods+for+Querying] + * - {Fetching}[rdoc-ref:Enumerable@Methods+for+Fetching] + * - {Searching}[rdoc-ref:Enumerable@Methods+for+Searching] + * - {Sorting}[rdoc-ref:Enumerable@Methods+for+Sorting] + * - {Iterating}[rdoc-ref:Enumerable@Methods+for+Iterating] + * - {And more....}[rdoc-ref:Enumerable@Other+Methods] * * === Methods for Querying * |