[build] Enable doxygen preprocessor expansion of WPI_DEPRECATED (#3642)

This fixes documentation for SpeedController and SpeedControllerGroup
This commit is contained in:
sciencewhiz
2021-10-18 21:29:23 -07:00
committed by GitHub
parent 0e631ad2f2
commit 9e6db17ef4

View File

@@ -122,10 +122,10 @@ doxygen {
exclude 'units/**'
}
case_sense_names false
extension_mapping 'inc=C++'
extract_static true
full_path_names true
case_sense_names false
generate_html true
generate_latex false
generate_treeview true
@@ -145,6 +145,12 @@ doxygen {
warn_if_undocumented false
warn_no_paramdoc true
//enable doxygen preprocessor expansion of WPI_DEPRECATED to fix SpeedController docs
enable_preprocessing true
macro_expansion true
expand_only_predef true
predefined "WPI_DEPRECATED(x)=[[deprecated(x)]]"
if (project.hasProperty('docWarningsAsErrors')) {
warn_as_error 'FAIL_ON_WARNINGS'
}