doc tools: fix 'path' typos

Correct "patch" or "patches" to "path" or "paths" in comments.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <20260806055634.1293294-1-rdunlap@infradead.org>
This commit is contained in:
Randy Dunlap
2026-08-11 10:43:16 -06:00
committed by Jonathan Corbet
parent 3160c8de3a
commit 0c56db4610
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ while (<IN>) {
# Check if exists, evaluating wildcards
next if (grep -e, glob("$ref $fulref"));
# Accept relative Documentation patches for tools/
# Accept relative Documentation paths for tools/
if ($f =~ m/tools/) {
my $path = $f;
$path =~ s,(.*)/.*,$1,;
+2 -2
View File
@@ -99,9 +99,9 @@ class SphinxBuilder:
def get_path(self, path, use_cwd=False, abs_path=False):
"""
Ancillary routine to handle patches the right way, as shell does.
Ancillary routine to handle paths the right way, as shell does.
It first expands "~" and "~user". Then, if patch is not absolute,
It first expands "~" and "~user". Then, if path is not absolute,
join self.srctree. Finally, if requested, convert to abspath.
"""