Closed
Bug 2088449
Opened 19 days ago
Closed 19 days ago
`./mach doc --no-autodoc` fails with KeyError: 'sphinx_js'
Categories
(Developer Infrastructure :: Source Documentation, defect)
Developer Infrastructure
Source Documentation
Tracking
(firefox161 fixed)
RESOLVED
FIXED
161 Branch
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
Since bug 2084074, ./mach doc <path> --no-autodoc aborts before reading any sources:
File "docs/conf.py", in setup
app.extensions["sphinx_js"].parallel_read_safe = True
KeyError: 'sphinx_js'
setup() marks sphinx_js parallel-safe unconditionally, but --no-autodoc doesn't load that extension. Skipping the two lines when sphinx_js isn't in app.extensions fixes it.
Comment 1•19 days ago
|
||
:Sylvestre, since you are the author of the regressor, bug 2084074, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Flags: needinfo?(sledru)
| Assignee | ||
Comment 2•19 days ago
|
||
Updated•19 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/3696c4d7bb00
https://hg.mozilla.org/integration/autoland/rev/fdedbc8ccceb
Mark sphinx-js parallel-safe only when the docs build loads it. r=firefox-source-docs-reviewers,sylvestre
Updated•19 days ago
|
Flags: needinfo?(sledru)
Comment 4•19 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 19 days ago
status-firefox161:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•