Closed
Bug 2070411
Opened 2 months ago
Closed 2 months ago
Document how a JSDoc comment's markup renders in the documentation skill
Categories
(Developer Infrastructure :: AI for Development, task)
Developer Infrastructure
AI for Development
Tracking
(firefox157 fixed)
RESOLVED
FIXED
157 Branch
| Tracking | Status | |
|---|---|---|
| firefox157 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Bug 2068532 added the rendering facts a JSDoc author needs to the documentation skill. Three more turned up while documenting the Tabbed Browser component:
- A single backtick is reStructuredText's
title-referencerole, so it renders as italic prose; code needs double backticks.|name|is a substitution reference, and an undefined one fails the build rather than warning. - A
@paramdescription renders as one paragraph. sphinx-js replaces every newline in it with a space, so a list or a heading written inside one arrives glued to the parameter above it; structure belongs in the function's own description. - Indexed access (
{Foo['id']}) has no spelling jsdoc accepts, whatever the quoting, so a derived type needs a named@typedefalias. The skill lists indexed access among the rejected expressions but gives no remedy.
| Assignee | ||
Comment 1•2 months ago
|
||
Updated•2 months ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/043ca485b40d
https://hg.mozilla.org/integration/autoland/rev/a839e4d258d9
Document how a JSDoc comment's markup renders in the documentation skill. r=ai4dev-reviewers,padenot DONTBUILD
Comment 3•2 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox157:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 157 Branch
| Assignee | ||
Updated•1 month ago
|
See Also: → tabbrowser-docs
| Assignee | ||
Updated•1 month ago
|
Blocks: tabbrowser-docs
| Assignee | ||
Updated•1 month ago
|
See Also: tabbrowser-docs →
You need to log in
before you can comment on or make changes to this bug.
Description
•