summaryrefslogtreecommitdiffstats
path: root/Doxyfile
diff options
context:
space:
mode:
authorEvan Benn <evanbenn@chromium.org>2022-04-28 12:36:53 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-05-06 01:00:37 +0000
commit1866deb06d775b9d006c1ef21c99f439677f0f76 (patch)
tree0c7cd17f7cb8eafa5eac97213554cd231a94eee0 /Doxyfile
parent4557c503e7020d2f72772bebc00d5f7ef9ff8133 (diff)
downloadflashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.gz
flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.tar.bz2
flashrom-1866deb06d775b9d006c1ef21c99f439677f0f76.zip
libflashrom: Move documentation to header
The doxygen documentation was in the libflashrom.c file. Move the documentation to the libflashrom.h file. This allows foreign function interface binding generators (eg rust bindgen) that operate on the .h file to generate documentation for the target language. Some doxygen errors were also corrected, mostly undocumented or wrongly labeled parameters. To test, I have diffed and inspected the doxygen documentation before and after the change. All functions are documented the same, and the structs and enums are now also included in the docs. Change-Id: I856b74d5bfea13722539be15496755a95e701eea Signed-off-by: Evan Benn <evanbenn@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/63903 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'Doxyfile')
-rw-r--r--Doxyfile5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doxyfile b/Doxyfile
index 6906cc82c..a13c06f6a 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -780,10 +780,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
-INPUT = libflashrom.c \
- libflashrom.h \
- flashrom.c \
- layout.c \
+INPUT = include/libflashrom.h
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses