]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Documentation/sphinx: rename kernel-doc.py to kerneldoc.py
authorJani Nikula <jani.nikula@intel.com>
Wed, 19 Oct 2016 10:44:37 +0000 (13:44 +0300)
committerJonathan Corbet <corbet@lwn.net>
Wed, 19 Oct 2016 22:02:00 +0000 (16:02 -0600)
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 <markus.heiser@darmarit.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
Documentation/sphinx/kerneldoc.py [moved from Documentation/sphinx/kernel-doc.py with 100% similarity]

index bf6f310e51705300e8f060c39125463b40d45873..4db1993658eab3143866d37b40e064f74eaabca2 100644 (file)
@@ -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: