Closed
Bug 1742605
Opened 2 years ago
Closed 2 years ago
[wpt-sync] Sync PR 31440 - Use JSDoc for documentation
Categories
(Testing :: web-platform-tests, task, P4)
Testing
web-platform-tests
Tracking
(firefox96 fixed)
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 31440 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/31440
Details from upstream follow.
James Graham <james@hoppipolla.co.uk> wrote:
Use JSDoc for documentation
The goal here is to address some complaints around the quality of the API documentation, and to make the docs easier to maintain going forward. To that end there are two big changes:
- The addition of sphinx-js to enable adding JSDoc strings directly into the docs.
- Conversion of the testharness and testdriver docs to use the JSDoc rather than repeating all the documentation in the markdown files as well as in the source.
There are also some incidential changes:
- The readdition of a Dockerfile for generating docs. The
wpt build-docs
command is updated to optionally use this docker image, avoiding the need to install the js components locally.- The addition of sphinx-autoreload so that it's possible to work on the docs using a local server and have the output regenerated when the inputs change.
Assignee | ||
Comment 1•2 years ago
|
||
PR 31440 applied with additional changes from upstream: ae483100a12ee8e7110c95142f95b14f2d659f6a
Assignee | ||
Comment 2•2 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=26cefc2d90e2d6d8c630062741c5591e5c436be8
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3b847659e868 [wpt PR 31440] - Use JSDoc for documentation, a=testonly
Assignee | ||
Comment 4•2 years ago
|
||
Test result changes from PR not available.
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•