summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-06 10:37:06 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-07 09:52:06 -0500
commita32e5e1b970298590200c2a63e5d4bacce4355ac (patch)
tree034bd876bcfe3f21a3f47d1de8caf65caba9ebb3 /file.c
parentf9a2802bc58b611a16108bbaf3473cb6195eac0d (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 'file.c')
-rw-r--r--file.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/file.c b/file.c
index 1fb661d3ef..2cd011375a 100644
--- a/file.c
+++ b/file.c
@@ -6584,10 +6584,10 @@ const char ruby_null_device[] =
*
* Here, class \File provides methods that are useful for:
*
- * - {Creating}[#class-File-label-Creating]
- * - {Querying}[#class-File-label-Querying]
- * - {Settings}[#class-File-label-Settings]
- * - {Other}[#class-File-label-Other]
+ * - {Creating}[rdoc-ref:File@Creating]
+ * - {Querying}[rdoc-ref:File@Querying]
+ * - {Settings}[rdoc-ref:File@Settings]
+ * - {Other}[rdoc-ref:File@Other]
*
* === Creating
*