Using Bzlmod with Bazel 7 or greater
# MODULE.bazel
bazel_dep(name = "rules_doxygen", version = "2.5.0", dev_dependency = True)
doxygen_extension = use_extension("@rules_doxygen//:extensions.bzl", "doxygen_extension")
# Specify the desired version of Doxygen to use
# ...
use_repo(doxygen_extension, "doxygen")
Changelog
Added
- Documenting
exclude_patterns workaround #31 (thanks to @AustinSchuh)
- Documenting limitations for the automatic download of the doxygen binary in the
doxygen extension rule #32 (thanks to @oxidase)
use_default_shell_env parameter to allow the use of the default shell environment when running doxygen. Allows for better integration with the user's environment at the cost of hermeticity
tools parameter to allow the use of additional tools when running doxygen. Allows for hermetic integration with other executables
env parameter to allow the use of custom environment variables when running doxygen
- Example showcasing the use of a custom executable for doxygen
Changed
- Renamed
_executable parameter in the doxygen rule to executable to allow its use from the doxygen macro (thanks to @mutalibmohammed)