Skip to contentSkip to conversation

doc tools: fix 'path' typos

PATCH Applied Randy Dunlap 2 participants 2 messages Aug 6 – Aug 11

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 doc tools: fix 'path' typos

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

---
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>

 tools/docs/documentation-file-ref-check |    2 +-
 tools/docs/sphinx-build-wrapper         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
tools/docs/documentation-file-ref-check +1 -1
@@ -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,;
tools/docs/sphinx-build-wrapper +2 -2
@@ -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.
         """
 
maintainer Applied
#1 lore raw
Quoted 26 lines · Randy Dunlap

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

---
Cc: Jonathan Corbet <[email protected]>
Cc: Shuah Khan <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>

 tools/docs/documentation-file-ref-check |    2 +-
 tools/docs/sphinx-build-wrapper         |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
tools/docs/documentation-file-ref-check +1 -1
@@ -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,;

tools/docs/sphinx-build-wrapper class SphinxBuilder: · line 106

Quoted 10 lines
tools/docs/sphinx-build-wrapper +2 -2
@@ -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.
         """

Applied, thanks.

jon