Closed Bug 2065040 Opened 3 months ago Closed 3 months ago

Document how to link from source comments in the documentation skill

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(firefox156 fixed)

RESOLVED FIXED
156 Branch
Tracking Status
firefox156 --- fixed

People

(Reporter: dao, Assigned: dao)

References

Details

Attachments

(1 external file)

The documentation skill's "Cross-references between documents" section teaches the [text](/path/index.md) form. That is right for .md and .rst pages, but wrong inside source comments: an API reference generated from them renders their descriptions as reStructuredText, so the Markdown link comes out literally, with only the bare URL autolinked. The role form, :doc:Places </browser/places/index>``, works there.

Found while generating the tabbrowser API reference with js:autoclass in bug 2064136, where the reviewer asked for a link to the Places docs from a @param description.

Component: Source Documentation → AI for Development
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by sledru@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3f8bf8fc7b1d https://hg.mozilla.org/integration/autoland/rev/e88c265d4f2e Document how to link from source comments in the documentation skill. r=sylvestre DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
Blocks: 2071162
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: