Closed Bug 1915550 Opened 8 months ago Closed 8 months ago

Make ERRORs raised in 'mach doc generate' be failures

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

(4 files)

Currently, we are only looking for warnings when running ./mach doc. This means we're missing raising various errors about issues with the generation, a lot of these are unknown targets or other unexpected/incorrect items.

We should start causing the generate task to fail when these occur so that we can make sure they get resolved. We'll need an allow list for the existing errors that we can hopefully reduce down over time.

See Also: → 1915552

The error was:
ERROR: Unknown target name: "appendix b: using the webextensions api directly".

This is out of date documentation as we no longer support webextensions for dynamic result types.

Blocks: 1916093
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/19f452367a1d Fix document errors in urlbar dynamic-result-types. r=urlbar-reviewers,jteow https://hg.mozilla.org/integration/autoland/rev/8991e07d3c46 Fix 'Document may not end with a transition' errors in Android documentation. r=android-reviewers,skhan https://hg.mozilla.org/integration/autoland/rev/8d079a3f7a4a Fix unknown target name issues in rst documents. r=sylvestre,profiler-reviewers,canaltinova https://hg.mozilla.org/integration/autoland/rev/18e95c19efd8 Make ERRORS raised during 'mach doc generate' be failures. r=sylvestre
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: