Closed
Bug 1592964
Opened 6 years ago
Closed 6 years ago
jsdoc: add minimal version
Categories
(Developer Infrastructure :: Source Documentation, task)
Developer Infrastructure
Source Documentation
Tracking
(firefox72 fixed)
RESOLVED
FIXED
mozilla72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
Details
Attachments
(2 files)
In Debian and Ubuntu, jsdoc is version 2.4 (pretty old).
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739506 for more information about that.
However, as the error message is cryptic:
Creating file /home/sylvestre/dev/mozilla/mozilla-inbound.hg/obj-x86_64-pc-linux-gnu/docs/html/_staging/python/marionette_driver.rst.
WARNING: The config value `js_source_path' has type `list', defaults to `str'.
Sphinx error:
jsdoc found no JS files in the directories [u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/browser/components/extensions', u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/testing/marionette', u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/toolkit/components/extensions', u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/toolkit/components/extensions/parent', u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/toolkit/components/featuregates', u'/home/sylvestre/dev/mozilla/mozilla-inbound.hg/toolkit/mozapps/extensions']. Make sure js_source_path is set correctly in conf.py. It is also possible (though unlikely) that jsdoc emitted invalid JSON.
./mach: failed to generate documentation:
/home/sylvestre/dev/mozilla/mozilla-inbound.hg/tools: sphinx return code 2
We should give more information in case of error (at least the version)
Assignee | ||
Comment 1•6 years ago
|
||
Pushed by sledru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d60821c527f2
Detail the minimal version of jsdoc expected r=ahal
Comment 3•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Comment 4•6 years ago
|
||
Due to bug 1556460 we actually fail with jsdoc>=3.6.0. Until we figure out why, let's do a version check and update our message.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 5•6 years ago
|
||
More modern versions of jsdoc fail due to bug 1556460.
Updated•6 years ago
|
Pushed by ahalberstadt@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7dbfb4cac809
= [docs] Error out if we detect anything but jsdoc==3.5, r=sylvestre
Comment 7•6 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•