Skip to content

Commit aa2d98e

Browse files
authored
[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.
1 parent e4a67cf commit aa2d98e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/rdoc/markup_reference.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -641,9 +641,9 @@
641641
# The file content is shifted to have the same indentation as the colon
642642
# at the start of the directive.
643643
#
644-
# The file is searched for in the directories
645-
# given with the <tt>--include</tt> command-line option,
646-
# or by default in the current directory.
644+
# The file is searched for in the directory containing the current file,
645+
# and then in each of the directories given with the <tt>--include</tt>
646+
# command-line option.
647647
#
648648
# For C code, the directive may appear in a stand-alone comment
649649
#

0 commit comments

Comments
 (0)