API Documentation Tools

Generating API Documentation

LIBRA provides targets for generating the documentation with:

  • doxgyen

Checking API Documentation

LIBRA provides tools for checking API documentation with:

  • doxygen (make apidoc-check-doxygen)

  • clang (make apidoc-check-clang)

None of these targets depend on the main project, and so can be run in CI prior to the build stage, if desired.

Several tags are modified in the generated Doxyfile:

  • WARN_AS_ERROR=FAIL_ON_WARNINGS

  • QUIET=YES

This checker can warn on missing/malformed documentation, but cannot check documentation for consistency with the code itself.