Closed Bug 1737307 Opened 4 years ago Closed 4 years ago

mach doc: add support for linkcheck

Categories

(Developer Infrastructure :: Source Documentation, enhancement)

enhancement

Tracking

(firefox96 fixed)

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: Sylvestre, Assigned: Sylvestre)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

sphinx has link checker:
https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-the-linkcheck-builder

we should have this option in mach doc
I propose that we have
./mach doc --linkcheck

it will return a bunch of output like:

(gfx/GraphicsOverview: line  158) redirect  http://featherweightmusings.blogspot.co.uk/2012/05/mask-layers_26.html - with Found to http://featherweightmusings.blogspot.com/2012/05/mask-layers_26.html
(tools/moztreedocs/run-try-job: line   12) ok        http://gecko-docs.mozilla.org-l1.s3.us-west-2.amazonaws.com/index.html
(contributing/debugging/process_dump_task_manager: line   32) broken    http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ - 404 Client Error: Not Found for url: http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
(taskcluster/actions: line  266) redirect  http://hg.mozilla.org/ci/ci-admin/ - permanently to https://hg.mozilla.org/ci/ci-admin/
(mozbase/mozhttpd: line    9) redirect  http://hg.mozilla.org/build/ - permanently to https://hg.mozilla.org/build/

(gfx/GraphicsOverview: line  158) redirect  http://featherweightmusings.blogspot.co.uk/2012/05/mask-layers_26.html - with Found to http://featherweightmusings.blogspot.com/2012/05/mask-layers_26.html
(tools/moztreedocs/run-try-job: line   12) ok        http://gecko-docs.mozilla.org-l1.s3.us-west-2.amazonaws.com/index.html
(contributing/debugging/process_dump_task_manager: line   32) broken    http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ - 404 Client Error: Not Found for url: http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/
(taskcluster/actions: line  266) redirect  http://hg.mozilla.org/ci/ci-admin/ - permanently to https://hg.mozilla.org/ci/ci-admin/
(mozbase/mozhttpd: line    9) redirect  http://hg.mozilla.org/build/ - permanently to https://hg.mozilla.org/build/
Pushed by sledru@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7e9b0ef77aae 'mach doc': Add a new option --linkcheck r=mhentges DONTBUILD
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
See Also: → 1780411
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: