From: Jani Nikula Date: Wed, 19 Oct 2016 10:44:37 +0000 (+0300) Subject: Documentation/sphinx: rename kernel-doc.py to kerneldoc.py X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=58af04dff742b6b49fae3de585bdea8c77b62ddc;p=linux-beck.git Documentation/sphinx: rename kernel-doc.py to kerneldoc.py Python module names should not have hyphens per [PEP 8]. Drop the hyphen from kernel-doc.py. The extension directive remains unchanged. [PEP 8] https://www.python.org/dev/peps/pep-0008/#package-and-module-names Reported-by: Markus Heiser Signed-off-by: Jani Nikula Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/conf.py b/Documentation/conf.py index bf6f310e5170..4db1993658ea 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -34,7 +34,7 @@ from load_config import loadConfig # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ['kernel-doc', 'rstFlatTable', 'kernel_include', 'cdomain'] +extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain'] # The name of the math extension changed on Sphinx 1.4 if minor > 3: diff --git a/Documentation/sphinx/kernel-doc.py b/Documentation/sphinx/kerneldoc.py similarity index 100% rename from Documentation/sphinx/kernel-doc.py rename to Documentation/sphinx/kerneldoc.py