From a69910211b161487b6d240e9d068aa19644214db Mon Sep 17 00:00:00 2001 From: Petrik de Heus Date: Sat, 9 Mar 2024 06:46:45 +0100 Subject: [ruby/rdoc] [DOC] Improve documentation of include directive file search Searching the file in the "current directory" could be read as the directory from which RDoc is run. This is incorrect, as the file is first searched in the directory containing the current documented file. Also this directory is searched before the `--include` directories. https://github.com/ruby/rdoc/commit/aa2d98ee5e --- doc/rdoc/markup_reference.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/rdoc/markup_reference.rb b/doc/rdoc/markup_reference.rb index 17da68bb1d..bfc84abd5a 100644 --- a/doc/rdoc/markup_reference.rb +++ b/doc/rdoc/markup_reference.rb @@ -641,9 +641,9 @@ require 'rdoc' # The file content is shifted to have the same indentation as the colon # at the start of the directive. # -# The file is searched for in the directories -# given with the --include command-line option, -# or by default in the current directory. +# The file is searched for in the directory containing the current file, +# and then in each of the directories given with the --include +# command-line option. # # For C code, the directive may appear in a stand-alone comment # -- cgit v1.2.3