doc tools: fix 'path' typos
Subsystems (2)
Randy Dunlap
reviewerPATCH 1/1 doc tools: fix 'path' typos
Correct "patch" or "patches" to "path" or "paths" in comments.
Signed-off-by Randy Dunlap <[email protected]>
---
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. """
Quoted 26 lines · Randy Dunlap
Correct "patch" or "patches" to "path" or "paths" in comments.
Signed-off-by Randy Dunlap <[email protected]>---
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