summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-02-06 10:30:11 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-02-07 09:52:06 -0500
commitf9a2802bc58b611a16108bbaf3473cb6195eac0d (patch)
treea635324e276be2aad20146459287c69ae1388eef /file.c
parentecd469fad00611a947aecc6e1e914682d1eec65c (diff)
downloadruby-f9a2802bc58b611a16108bbaf3473cb6195eac0d.tar.gz
[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
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index 0d0b9d59db..1fb661d3ef 100644
--- a/file.c
+++ b/file.c
@@ -6577,9 +6577,9 @@ const char ruby_null_device[] =
*
* First, what's elsewhere. \Class \File:
*
- * - Inherits from {class IO}[IO.html#class-IO-label-What-27s+Here],
+ * - Inherits from {class IO}[rdoc-ref:IO@What-27s+Here],
* in particular, methods for creating, reading, and writing files
- * - Includes {module FileTest}[FileTest.html#module-FileTest-label-What-27s+Here].
+ * - Includes {module FileTest}[rdoc-ref:FileTest@What-27s+Here].
* which provides dozens of additional methods.
*
* Here, class \File provides methods that are useful for: