Closed Bug 1916093 Opened 1 month ago Closed 1 month ago

When generating docs, handle CRITICAL errors, and make more warnings fatal by default

Categories

(Developer Infrastructure :: Source Documentation, task)

Tracking

(firefox132 fixed)

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

Attachments

(5 files)

This set of patches builds on top of bug 1915550 and does the following:

  • Tracks CRITICAL errors as errors.
  • Makes "fatal" warnings raise errors by default.
    • This will allow developers to see them when they run ./mach doc locally - i.e. without needing to add arguments.
  • Removes the last instances of some warnings, and makes them fatal.
    • This should stop new instances of the warnings being introduced.
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29e8fc266fd6 When generating docs, treat critical errors the same as errors. r=sylvestre,perftest-reviewers,sparky https://hg.mozilla.org/integration/autoland/rev/a304562e0f13 Make 'fatal' warnings during documentation raise errors by default. r=sylvestre https://hg.mozilla.org/integration/autoland/rev/879093de785d Enable more documentation generation warnings as fatal. r=sylvestre,devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/5e1b56fe7425 Fix some minor nspr documentation generation warnings. r=kaie,sylvestre https://hg.mozilla.org/integration/autoland/rev/8948165830ad Fix a few more warning issues, and reduce the maximum number of warnings count. r=sylvestre,perftest-reviewers,sparky
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: