Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756456AbcJSOL5 (ORCPT ); Wed, 19 Oct 2016 10:11:57 -0400 Received: from mga02.intel.com ([134.134.136.20]:5345 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756337AbcJSOLx (ORCPT ); Wed, 19 Oct 2016 10:11:53 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,514,1473145200"; d="scan'208";a="774497473" From: Jani Nikula To: Markus Heiser , Jonathan Corbet Cc: Mauro Carvalho Chehab , Jani Nikula , Linux Doc Mailing List , Mauro Carvalho Chehab , LKML , Jani Nikula Subject: [PATCH] Documentation/sphinx: rename kernel-doc.py to kerneldoc.py Date: Wed, 19 Oct 2016 13:44:37 +0300 Message-Id: <1476873877-9538-1-git-send-email-jani.nikula@intel.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 32 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 --- Documentation/conf.py | 2 +- Documentation/sphinx/{kernel-doc.py => kerneldoc.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename Documentation/sphinx/{kernel-doc.py => kerneldoc.py} (100%) diff --git a/Documentation/conf.py b/Documentation/conf.py index 0cc8765d3f98..bebab599a09b 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 -- 2.1.4