Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <markus.heiser@darmarit.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>

authored by

Jani Nikula and committed by
Jonathan Corbet
58af04df 1001354c

+1 -1
+1 -1
Documentation/conf.py
··· 34 34 # Add any Sphinx extension module names here, as strings. They can be 35 35 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom 36 36 # ones. 37 - extensions = ['kernel-doc', 'rstFlatTable', 'kernel_include', 'cdomain'] 37 + extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', 'cdomain'] 38 38 39 39 # The name of the math extension changed on Sphinx 1.4 40 40 if minor > 3:
Documentation/sphinx/kernel-doc.py Documentation/sphinx/kerneldoc.py