[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
This commit is contained in:
Petrik de Heus 2024-03-09 06:46:45 +01:00 коммит произвёл git
Родитель 5ac6194c2b
Коммит a69910211b
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -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 <tt>--include</tt> 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 <tt>--include</tt>
# command-line option.
#
# For C code, the directive may appear in a stand-alone comment
#