summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-25 21:06:57 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2021-01-27 12:52:57 +0100
commita6aaeb2a91bc01c84a746c7ee964f8927ac75de3 (patch)
tree62527eb21d796d511df7ada9e1112dfeff87fe61 /doc/api
parentc7d2b2ccd341de9635c58345370787063a1ff82d (diff)
doc: fix doc/develop/logging.rst
Sphinx 3 builds fail due to doc/develop/logging.rst producing duplicate labels. Include logging.h only once in the API section and use cross-references for the enums log_level_t and log_category_t. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/index.rst1
-rw-r--r--doc/api/logging.rst6
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/api/index.rst b/doc/api/index.rst
index cbecd10755..ea02aa5715 100644
--- a/doc/api/index.rst
+++ b/doc/api/index.rst
@@ -10,6 +10,7 @@ U-Boot API documentation
efi
getopt
linker_lists
+ logging
pinctrl
rng
sandbox
diff --git a/doc/api/logging.rst b/doc/api/logging.rst
new file mode 100644
index 0000000000..1e6cbc4931
--- /dev/null
+++ b/doc/api/logging.rst
@@ -0,0 +1,6 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+Logging API
+===========
+
+.. kernel-doc:: include/log.h