summaryrefslogtreecommitdiffstats
path: root/doc/sphinx/kernellog.py
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-31 23:16:46 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-27 12:52:57 +0100
commit98f01cf7a22ec81774a26a9e1bf11c7c3cdce424 (patch)
tree76411a131f9fcd2402531398ab3899db747848d8 /doc/sphinx/kernellog.py
parent836049d63eedd3b1f2351831d1439b668cdbeb0e (diff)
downloadu-boot-98f01cf7a22ec81774a26a9e1bf11c7c3cdce424.tar.gz
u-boot-98f01cf7a22ec81774a26a9e1bf11c7c3cdce424.tar.xz
u-boot-98f01cf7a22ec81774a26a9e1bf11c7c3cdce424.zip
doc: update Kernel documentation build system
Update the documentation build system according to Linux v5.11-rc1. Deactive the automarkup.py extension module which on Gitlab CI is incompatible with Unicode. With this patch we can build the HTML documentation using either of Sphinx 2 and Sphinx 3. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc/sphinx/kernellog.py')
-rw-r--r--doc/sphinx/kernellog.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/sphinx/kernellog.py b/doc/sphinx/kernellog.py
index af924f51a7..8ac7d274f5 100644
--- a/doc/sphinx/kernellog.py
+++ b/doc/sphinx/kernellog.py
@@ -25,4 +25,8 @@ def verbose(app, message):
else:
app.verbose(message)
-
+def info(app, message):
+ if UseLogging:
+ logger.info(message)
+ else:
+ app.info(message)