Skip to content

Commit 102caec

Browse files
author
Jonathan Corbet
committed
docs: Take a little noise out of the build process
Sphinx 3.0 works at this point (albeit slowly) so stop scaring people with a loud warning. We also don't need to babble about CJK support in the LaTeX build. Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 257e652 commit 102caec

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Documentation/conf.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,7 @@
4141
'maintainers_include', 'sphinx.ext.autosectionlabel',
4242
'kernel_abi', 'kernel_feat']
4343

44-
#
45-
# cdomain is badly broken in Sphinx 3+. Leaving it out generates *most*
46-
# of the docs correctly, but not all. Scream bloody murder but allow
47-
# the process to proceed; hopefully somebody will fix this properly soon.
48-
#
4944
if major >= 3:
50-
sys.stderr.write('''WARNING: The kernel documentation build process
51-
support for Sphinx v3.0 and above is brand new. Be prepared for
52-
possible issues in the generated output.\n''')
5345
if (major > 3) or (minor > 0 or patch >= 2):
5446
# Sphinx c function parser is more pedantic with regards to type
5547
# checking. Due to that, having macros at c:function cause problems.
@@ -368,7 +360,6 @@
368360

369361
cjk_cmd = check_output(['fc-list', '--format="%{family[0]}\n"']).decode('utf-8', 'ignore')
370362
if cjk_cmd.find("Noto Sans CJK SC") >= 0:
371-
print ("enabling CJK for LaTeX builder")
372363
latex_elements['preamble'] += '''
373364
% This is needed for translations
374365
\\usepackage{xeCJK}

0 commit comments

Comments
 (0)