Skip to content

Commit feec610

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: sphinx: kerneldoc: use kernel-doc.py script
Switch to the new version when producing documentation. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/a81d8db099d9cef5161deaef40ac9056bf9802a3.1744106242.git.mchehab+huawei@kernel.org
1 parent 01c4335 commit feec610

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ endif #HAVE_LATEXMK
6060
# Internal variables.
6161
PAPEROPT_a4 = -D latex_paper_size=a4
6262
PAPEROPT_letter = -D latex_paper_size=letter
63-
KERNELDOC = $(srctree)/scripts/kernel-doc
63+
KERNELDOC = $(srctree)/scripts/kernel-doc.py
6464
KERNELDOC_CONF = -D kerneldoc_srctree=$(srctree) -D kerneldoc_bin=$(KERNELDOC)
6565
ALLSPHINXOPTS = $(KERNELDOC_CONF) $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)
6666
ifneq ($(wildcard $(srctree)/.config),)

Documentation/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def get_cline_version():
540540
# kernel-doc extension configuration for running Sphinx directly (e.g. by Read
541541
# the Docs). In a normal build, these are supplied from the Makefile via command
542542
# line arguments.
543-
kerneldoc_bin = '../scripts/kernel-doc'
543+
kerneldoc_bin = '../scripts/kernel-doc.py'
544544
kerneldoc_srctree = '..'
545545

546546
# ------------------------------------------------------------------------------

0 commit comments

Comments
 (0)