Jetpack/Static Docs
This needs to happen each time we make an official release of the SDK.
1) fetch the relevant SDK release candidate from the stabilization branch on GitHub. Choose the release tagged with the latest release candidate (RC) number for the release you're targeting, for example 1.1rc1 if you're targeting 1.1 and 1.1 only has a single RC.
2) check the docs look all right using cfx docs
3) generate the new static docset by running:
cfx sdocs --baseurl="https://addons.mozilla.org/en-US/developers/docs/sdk/<new release number>/"
4) unzip the docs
5) clone the repo at: https://github.com/mozilla/addon-sdk-sdocs, and delete everything it contains:
git clone git@github.com:mozilla/addon-sdk-sdocs.git git rm -r *
5) copy the newly generated docs and add them, tagged as something like: <release_identifier><RC_identifier>-amo: for example, 1.1rc1-amo:
git add * git commit -m "Added 1.1 docset from release candidate 1" git tag -a 1.1rc1-amo -m "sdocs built from 1.1 release candidate 1"
6) raise a bug like this: https://bugzilla.mozilla.org/show_bug.cgi?id=686341 to update the docs on AMO