Commit 14059a38 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

docs: conf.py: change the Sphinx 3.x+ text

After the build fix patches, it is believed that the output
with Sphinx 3.x won't be a problem. Still, the C domain
support was re-written, and this can have caused hidden
issues.

So, let's keep the warning, changing it to a lighter
warning text.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent b34b86d7
...@@ -47,8 +47,8 @@ extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include', ...@@ -47,8 +47,8 @@ extensions = ['kerneldoc', 'rstFlatTable', 'kernel_include',
# #
if major >= 3: if major >= 3:
sys.stderr.write('''WARNING: The kernel documentation build process sys.stderr.write('''WARNING: The kernel documentation build process
does not work correctly with Sphinx v3.0 and above. Expect errors support for Sphinx v3.0 and above is brand new. Be prepared for
in the generated output. possible issues in the generated output.
''') ''')
if minor > 0 or patch >= 2: if minor > 0 or patch >= 2:
# Sphinx c function parser is more pedantic with regards to type # Sphinx c function parser is more pedantic with regards to type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment