Documentation generation fails if documentation is not complete

This commit is contained in:
pjht 2020-08-01 08:47:13 -05:00
parent c0929a4eea
commit ab200ad743
5 changed files with 7 additions and 3 deletions

View File

@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES
TYPEDEF_HIDES_STRUCT = YES
EXTRACT_STATIC = YES
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = YES
INPUT = ./kernel
RECURSIVE = YES
EXCLUDE = kernel/cpu/x86_64

View File

@ -795,7 +795,7 @@ WARN_NO_PARAMDOC = YES
# a warning is encountered.
# The default value is: NO.
WARN_AS_ERROR = NO
WARN_AS_ERROR = YES
# The WARN_FORMAT tag determines the format of the warning messages that doxygen
# can produce. The string should contain the $file, $line, and $text tags, which
@ -2204,7 +2204,8 @@ INCLUDE_FILE_PATTERNS =
# recursively expanded use the := operator instead of the = operator.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
PREDEFINED = __attribute__(x)= DOXYGEN_SHOULD_SKIP_THIS=
PREDEFINED = __attribute__(x)= \
DOXYGEN_SHOULD_SKIP_THIS=
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
# tag can be used to specify a list of macro names that should be expanded. The

View File

@ -24,6 +24,6 @@ void* pmem_alloc(int num_pages);
* \param start The address to start freeing at.
* \param num_pages The number of frames to free
*/
void pmem_free(int start,int num_pages);
void pmem_free(void* start,int num_pages);
#endif

View File

@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES
TYPEDEF_HIDES_STRUCT = YES
EXTRACT_STATIC = YES
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = YES
INPUT = ./libc
RECURSIVE = YES
EXCLUDE = elf.h grub/multiboot2.h

View File

@ -4,6 +4,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES
TYPEDEF_HIDES_STRUCT = YES
EXTRACT_STATIC = YES
WARN_NO_PARAMDOC = YES
WARN_AS_ERROR = YES
INPUT = /Users/peterterpstra/Desktop/projects/os/libc
RECURSIVE = YES
EXCLUDE = libc/elf.h libc/grub/multiboot2.h