doc: make doxygen comply with meson werror option
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 29 Sep 2020 16:55:02 +0000 (17:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 30 Sep 2020 14:29:38 +0000 (16:29 +0200)
commit1f1619994570210105ea9fa674562c11ce1921b3
tree3f52d120a0fad7d7480bdd6e31531a68af78e9cc
parente5feab93a91339e1204e2e9e1b9ab40e252d4c80
doc: make doxygen comply with meson werror option

When the --werror meson build option is set, we can set the WARN_AS_ERRORS
doxygen option in the doxygen config flag to get the same behaviour for API
doc building as for building the rest of DPDK. This can help catch
documentation errors sooner in the development process.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
doc/api/doxy-api.conf.in
doc/api/meson.build