Skip to content

Enable Doxygen WARN_AS_ERROR when WARNINGS_AS_ERRORS is ON - #74

Merged
snape merged 1 commit into
mainfrom
dev/doxygen
Nov 25, 2026
Merged

snape merged 1 commit into
mainfrom
dev/doxygen

Conversation

@snape

@snape snape commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Set DOXYGEN_WARN_AS_ERROR to FAIL_ON_WARNINGS in doc/CMakeLists.txt when WARNINGS_AS_ERRORS is enabled.

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

Next included review available in 44 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 3 included reviews currently available. Your 46 included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 10c426b8-2d54-4eb7-91f6-c3688020c15b
Commits

Reviewing files that changed from the base of the PR and between 1fedcf4 and d4bb157.

Files selected for processing: 1

  • doc/CMakeLists.txt

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Doxygen warnings now cause a documentation build to fail when warnings are configured as errors.

When WARNINGS_AS_ERRORS is enabled, the Doxygen configuration sets DOXYGEN_WARN_AS_ERROR to FAIL_ON_WARNINGS.

Changes: Doxygen warning configuration

Layer / File(s) Summary
Set Doxygen warning handling
doc/CMakeLists.txt
When WARNINGS_AS_ERRORS is enabled, the configuration sets DOXYGEN_WARN_AS_ERROR to FAIL_ON_WARNINGS.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Merge Risk: Minimal · previous review 1fedc

When warnings are treated as errors, Doxygen documentation builds will now fail on warnings. The change is small, opt-in and easy to revert, so there is no meaningful merge risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title states the main change: the Doxygen WARN_AS_ERROR setting is enabled when WARNINGS_AS_ERRORS is ON. The raw summary confirms that doc/CMakeLists.txt now sets DOXYGEN_WARN_AS_ERROR to FAIL_ON…
Description check Passed The description states that DOXYGEN_WARN_AS_ERROR is set to FAIL_ON_WARNINGS in doc/CMakeLists.txt when WARNINGS_AS_ERRORS is enabled. This matches the file-level change in the raw summary.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title states the main change: the Doxygen WARN_AS_ERROR setting is enabled when WARNINGS_AS_ERRORS is ON. The raw summary confirms that doc/CMakeLists.txt now sets DOXYGEN_WARN_AS_ERROR to FAIL_ON_WARNINGS under that condition, so the title matches the changeset.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: a1305ab2-7d87-4b82-adef-8e970c81003e
Commits

Reviewing files that changed from the base of the PR and between fd292ab and 1fedcf4.

Files selected for processing: 1

  • doc/CMakeLists.txt

Included review availability: This review used your included allowance. 2 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour.

Signed-off-by: Jamie Snape <snape@me.com>
@snape
snape merged commit 03ab74f into main Nov 25, 2026
29 checks passed
@snape
snape deleted the dev/doxygen branch November 25, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant