Closed erikrose closed 5 years ago
Here are 2 output files, one from jsdoc 3.5.4 and the other from 3.6.2. Note the extra undocumented: True
keys in the latter.
This also shows up when running ./mach doc
in mozilla-central. Though to make matters worse, we are currently pinned to sphinx-js==2.1 because upgrading was causing intermittents:
https://searchfox.org/mozilla-central/rev/f8b11433159cbc9cc80500b3e579d767473fa539/tools/docs/Pipfile#14
Downgrading to jsdoc@3.5.5
works for me.
@ahal Do you have any logs or tracebacks or anything so I could troubleshoot the intermittents?
Downgrading to jsdoc@3.5.5
is working for me too. Here is the error I was getting on version 3.6.2
https://pastebin.com/W82SHTsD
@erikrose I don't off-hand, I'll file a bug and CC you. IIRC I never spent any effort looking into them because it was tangential to what I was working on at the time. This was a couple years ago.
Darn, we've had sphinx-js in there for years? Wow. Thanks for the CC.
For my reference, https://bugzilla.mozilla.org/show_bug.cgi?id=1556460 depends on this.
This seems to have mysteriously started working again, at least as of 6be78f9a10d2e5dc96c4207da53c52ed9c2ac89d. It works with 3.6.2 and the latest, 3.6.3, building the docs for Fathom.
When building docs for Fathom on 3.6.2, says "No JSDoc documentation was found for object "Ruleset" or any path ending with that." Works fine with 3.5.4.
It looks like jsdoc is emitting an
undocumented: true
key for the Ruleset code, for one: