I've been thinking a bit about what will happen to the SDK
documentation once we stop shipping modules in the downloaded bit of
the SDK.
For context, here's the current status and next steps for the SDK:
* SDK APIs are currently in Firefox 21 (as of yesterday, the Firefox
Beta)
* these APIs are the same as the APIs in SDK 1.14
* SDK 1.14 is the last SDK release that will include the APIs
* at some point, tbd, there will be an SDK 1.15, consisting only of
cfx
* Firefox 22 (shipping June 25) will be the first version in which
the SDK APIs shipping in Firefox will diverge from the APIs shipped
in SDK 1.14
I think we should from now on stop shipping the docs in the
downloadable SDK. There are two reasons for this:
1) the SDK docs need to track the APIs: but if the downloadable SDK
doesn't release in sync with Firefox any more, and the APIs are in
Firefox, then they can't
2) the SDK doc generator uses the modules for various things
(primarily metadata) so expects them to be present
This means that on June 25, or a few weeks earlier, we should
publish the "Firefox 22" release of the SDK docs, which documents
the APIs in Firefox 22 as well as the corresponding version of cfx.
We should disentangle the doc generation code from cfx, and retire
cfx docs (or cfx docs could just launch a browser pointed at the
online docs, if that's desirable).
Where should we publish these docs? At the moment they get published
to
addons.mozilla.org.
For a long time we've wanted to publish them to
developer.mozilla.org,
and that's still the goal[1]. But I think that's unlikely to happen
before June 25, so it's likely that the docs will stay on
addons.mozilla.org for a little while yet.
Is it an important requirement that people with a clone of the SDK
repo should be able to generate docs directly from that version of
the code?
I'd be happy to hear any comments about any of this.
Will
[1] Specifically, I'm thinking of making the SDK docs into a
Sphinx-compatible docset: then
readthedocs.org
will just work with it, and MDN can integrate it by just specifying
a CNAME to define the URLs at which the docs are served (as I
understand things...)