diff options
author | Stan Lo <stan001212@gmail.com> | 2023-07-18 14:53:24 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-07-18 13:53:31 +0000 |
commit | 0db58dd0db092af8055372d97961bc3399a25767 (patch) | |
tree | af2c85597f5e73dde04c047e40a97f101520ed40 /dir.c | |
parent | b89b7d8fdc76b520cafc31566524f3054439d5d3 (diff) |
[ruby/irb] Declare rdoc as dependency
(https://github.com/ruby/irb/pull/648)
IRB already has several features that rely on rdoc, such as:
- Autocompletion's document dialog
- Autocompletion's `PerfectMatchedProc`
- The `show_doc` command
- Easter egg
And we could use its pager more in the future too. So it makes sense to
declare rdoc as a dependency instead of relying on the one bundled with
Ruby.
https://github.com/ruby/irb/commit/4dffbb1dd3
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -3266,7 +3266,7 @@ dir_open_dir(int argc, VALUE *argv) * #<Encoding:UTF-8> * #<Encoding:US-ASCII> * - * See {String Encoding}[https://docs.ruby-lang.org/en/master/encodings_rdoc.html#label-String+Encoding]. + * See {String Encoding}[rdoc-ref:encodings.rdoc@String+Encoding]. * * Returns an enumerator if no block is given. */ @@ -3302,7 +3302,7 @@ dir_collect(VALUE dir) * Dir.entries('/example', encoding: 'US-ASCII').first.encoding * # => #<Encoding:US-ASCII> * - * See {String Encoding}[https://docs.ruby-lang.org/en/master/encodings_rdoc.html#label-String+Encoding]. + * See {String Encoding}[rdoc-ref:encodings.rdoc@String+Encoding]. * * Raises an exception if the directory does not exist. */ @@ -3399,7 +3399,7 @@ dir_collect_children(VALUE dir) * Dir.children('/example', encoding: 'US-ASCII').first.encoding * # => #<Encoding:US-ASCII> * - * See {String Encoding}[https://docs.ruby-lang.org/en/master/encodings_rdoc.html#label-String+Encoding]. + * See {String Encoding}[rdoc-ref:encodings.rdoc@String+Encoding]. * * Raises an exception if the directory does not exist. */ |