linux-next: docs-rst: Fix typos in kfigure.py
Subsystems (2)
PATCH 1/1 linux-next: docs-rst: Fix typos in kfigure.py
This patch fixes some spelling typos found in kfigure.py
Signed-off-by Masanari Iida <[email protected]>
--- Documentation/sphinx/kfigure.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/sphinx/kfigure.py +3 -3
@@ -81,7 +81,7 @@ __version__ = '1.0.0' # ------------- def which(cmd): - """Searches the ``cmd`` in the ``PATH`` enviroment. + """Searches the ``cmd`` in the ``PATH`` environment. This *which* searches the PATH for executable ``cmd`` . First match is returned, if nothing is found, ``None` is returned.
@@ -419,7 +419,7 @@ def visit_kernel_render(self, node): tmp_ext = RENDER_MARKUP_EXT.get(srclang, None) if tmp_ext is None: - app.warn('kernel-render: "%s" unknow / include raw.' % (srclang)) + app.warn('kernel-render: "%s" unknown / include raw.' % (srclang)) return if not dot_cmd and tmp_ext == '.dot':
@@ -482,7 +482,7 @@ class KernelRender(Figure): srclang = self.arguments[0].strip() if srclang not in RENDER_MARKUP_EXT.keys(): return [self.state_machine.reporter.warning( - 'Unknow source language "%s", use one of: %s.' % ( + 'Unknown source language "%s", use one of: %s.' % ( srclang, ",".join(RENDER_MARKUP_EXT.keys())), line=self.lineno)]
Signature · 1 line
2.15.1.433.g936d1b989416
Quoted 4 lines
Am 11.01.2018 um 12:00 schrieb Masanari Iida <[email protected]>:
This patch fixes some spelling typos found in
kfigure.py
FYI: I copied the patch to the linuxdoc project [1] / Thanks!
[1] https://github.com/return42/linuxdoc/commit/41d228f
-- Markus --
Quoted 3 lines · On Thu, 11 Jan 2018 20:00:28 +0900 Masanari Iida <[email protected]> wrote:
This patch fixes some spelling typos found in
kfigure.pySigned-off-by Masanari Iida <[email protected]>
Applied, thanks.
jon