Jan 302011
This was an absurdly productive week, even before our wildly successful documentation sprint — which Janet will be blogging about separately.
Stuff I did before the doc sprint
- Documented the
nsIMenuObjectBox
interface, which picked up a new attribute recently. - Added notes that the MozAfterPaint event is no longer sent by default:
- Documented the alternate style sheet API
- Finally added a PromoteJS campaign box to my blog. Had to hack at my theme a bit to do it, which is why I hadn’t gotten to it previously.
- Finished the documentation for the Add-on Repository API:
- Add-on Repository code module (written by Mossop, cleaned up by me)
SearchCallback
- Interfacing with the Add-on Repository (a how-to guide with sample code)
- Updated the toolbar reference documentation to cover the idea of external toolbars.
- XUL
toolbar
element - XUL
toolbox
element - The
toolbar
‘stoolboxid
property. - The toolbox’s
externalToolbars
property.
- XUL
- Created a new Performance section to contain performance-related documentation and started moving existing content into this section.
- Cleaned up and updated the
PerfMeasurement.jsm
reference. - Added Measuring performance using the PerfMeasurement.jsm code module.
- Cleaned up and updated the
- Documented the new
-moz-windows-theme
media query.
Stuff I did during the doc sprint
- Added the
MobileOnlyInline
andMobileOnlyHeader
templates, which insert “Mobile Only as of Gecko X” notes in the documentation. - Created the
JSFiddleLink
template, which creates a “See this on JSFiddle” button. - Documentation for Electrolysis content views has been written; the affected documents are:
- Working with content views (new)
nsIContentView
(new)nsIContentViewManager
(new)nsIFrameLoader
(updated)
nsIDOMWindowUtils
(updated)
- Documented
nsIProfile
, then realized it’s so obsolete it was never used in Firefox. But we have it for historical reference now anyway. - After that, I moved on and documented the new Toolkit Profile Manager APIs:
- Made multiple updates to the MDC Style Guide to clarify several points, mostly related to code samples.
- Added screen shots from Google Chrome to the HTML
meter
element documentation, since it’s not supported in Gecko yet. - Created the
EmbedSVG
template, which renders an SVG file that’s attached to the article into the page, given its filename. - Reviewed and copy-edited articles updated by others during the sprint.
Crazy awesome!
Awesome, keep up the good work.