Closed Bug 2071162 Opened 2 months ago Closed 18 days ago

[meta] documentation skill improvements

Categories

(Developer Infrastructure :: AI for Development, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Keywords: meta)

An agent loads Firefox's in-tree documentation skill whenever someone builds, writes or fixes firefox-source-docs, so it is the one place a docs gotcha can be written down once and reach every developer and every agent in the tree. The skill started out covering running the build and almost nothing about what the build does to the text, which is where the time goes. Sphinx renders a JSDoc comment through a second parser with its own type grammar and its own markup, and the build does not draw a mermaid block at all, so a docs build that passes certifies neither.

Since the skill was written, the Tabbed Browser, SessionStore and IPC Urlbar documentation projects have each spent hours rediscovering the same handful of silent failures. This effort feeds off those projects. A component's docs project turns up a gotcha with a real case behind it, that gotcha lands in the skill, and the next project starts from it. Every piece is a docs-only edit to the skill, so each one ships on its own and carries no product risk.

This tracks the skill's own content and structure. The theme, the Sphinx extensions and the diagram rendering make up the toolchain the skill describes, and they change under their own bugs.

Phase Goal Bug Status
1 Write down how a source comment becomes an API reference page bug 2065040, bug 2068532, bug 2070411 DONE
2 Write down what an author has to know about a diagram the build never draws bug 2068546 DONE
3 Correct what the skill got wrong about docs-only changes bug 2068556 DONE
4 Bring the diagram guidance up to the sizing and color-scheme changes bug 2071289 DONE
5 Name ZenUML sequence diagrams in the diagram guidance bug 2073570 DONE
6 Write down how to check a page retitle and a rendered preview bug 2080902 DONE
7 Add a check of what a page claims against the code bug 2071293 DONE
8 Move the deep sections into bundled reference files bug 2071291 DONE
9 Write down how to fix a generated API page or a diagram that comes out wrong bug 2071292 DONE
10 Finish the notes on fixing a broken API page and update skill description bug 2089077, bug 2089813 DONE
11 Write down the diagram layout and read-back rules measured under the ELK layout bug 2090013 DONE
12 Write down how ZenUML numbers messages and reads return values bug 2090064 DONE
No longer depends on: 2038819, 2067092
Depends on: 2071289
Depends on: 2071291
Depends on: 2071292
Depends on: 2071293
See Also: → 2071266
Assignee: nobody → dao+bmo
Depends on: 2073570
Depends on: 2080902
Depends on: 2082314
Depends on: 2089077
Depends on: 2089813
Depends on: 2090013
Depends on: 2090064
Status: NEW → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.