]> git.ipfire.org Git - thirdparty/linux.git/commit
docs: sphinx-build-wrapper: allow -v override -q
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 27 Jan 2026 08:03:33 +0000 (09:03 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 2 Feb 2026 16:57:46 +0000 (09:57 -0700)
commitb09cc1ddde9707ef62d2dd1070a1c99556ed7d76
treef2bc8c65e86fec9363857d7205283642f7da66a2
parent98f51c466aebdb5afa7cb7d54aa7eb9f04b468ee
docs: sphinx-build-wrapper: allow -v override -q

Documentation builds were using "-q" for a long time, but sometimes
it is nice to see the Sphinx progress, without increasing build
verbosity - which would also turn on kernel-doc verbosity.

Instead of doing that, let's parse the sphinx-build already-existing
-v: each time it is used, it increases the verbosity level.

With that, if the default is to use -q, a single -v will disable
quiet mode. Passing more -v will keep increasing its verbosity.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Message-ID: <38b24e97a3cbd2def418359a8e69b1b087a945ad.1769500383.git.mchehab+huawei@kernel.org>
tools/docs/sphinx-build-wrapper