Commit bd3c76c8 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

doc: force include interface header files first



Force include interface header files first before other files
under include. This is due to doxygen always using the first
found item during linking. Because of this, without forcing
the interface definitions first, almost all of these would
link to the same named items, for example, under ARC header
files instead. Hence the need to manually shuffle the items
so linking would actually link to the correct items.

Note that this only works with functions and macros that are
actually defined in the interface file. A simple doc section
with @def would not work as this is not an actual definition.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 94291a0c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -924,6 +924,9 @@ WARN_LOGFILE =
INPUT                  = @ZEPHYR_BASE@/doc/_doxygen/mainpage.md \
                         @ZEPHYR_BASE@/doc/_doxygen/groups.dox \
                         @ZEPHYR_BASE@/kernel/include/kernel_arch_interface.h \
                         @ZEPHYR_BASE@/include/zephyr/arch/cache.h \
                         @ZEPHYR_BASE@/include/zephyr/sys/arch_interface.h \
                         @ZEPHYR_BASE@/include/zephyr/sys/atomic.h \
                         @ZEPHYR_BASE@/include/ \
                         @ZEPHYR_BASE@/lib/libc/minimal/include/ \
                         @ZEPHYR_BASE@/subsys/testsuite/include/ \