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>
This commit is contained in:
Heinrich Schuchardt
2021-01-25 21:06:57 +01:00
parent c7d2b2ccd3
commit a6aaeb2a91
3 changed files with 10 additions and 10 deletions

View File

@@ -10,6 +10,7 @@ U-Boot API documentation
efi
getopt
linker_lists
logging
pinctrl
rng
sandbox

6
doc/api/logging.rst Normal file
View File

@@ -0,0 +1,6 @@
.. SPDX-License-Identifier: GPL-2.0+
Logging API
===========
.. kernel-doc:: include/log.h