Closed Bug 877973 Opened 12 years ago Closed 12 years ago

Some docs are still referring to 'packages' folder

Categories

(Add-on SDK Graveyard :: Documentation, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: zer0, Assigned: wbamberg)

Details

Attachments

(1 file)

Since the new layout of addon-sdk, we don't have "packages" anymore. We should update our documentation. For example: https://addons.mozilla.org/en-US/developers/docs/sdk/latest/dev-guide/tutorials/adding-menus.html#Installing%20menuitems
What's the recommended way to use third-party modules now? Copy them under your lib directory?
Assignee: nobody → wbamberg
I personally use a different approach – also before – so I'm not the right person to ask I guess: I use an external folder and pass the path to the `cfx`. Definitely if you copy them in the add-on lib folder they works. But it's better asking to Irakli, that redesign the SDK layout and loader. However my main concern is remove the `packages` mention of the SDK folder from all the docs, that doesn't exists anymore: a lot of users asked in IRC because they were confused.
Flags: needinfo?(rFobic)
Attached file a pull request
For the time being I've updated the tutorial to cover only the method where you create "packages" in your add-on. I understand that this is an interim fix and we'll need to update it when we have a new story for third-party modules, but I've verified that it works at least, which is more than the current tutorial does.
Attachment #763681 - Flags: review?(zer0)
Attachment #763681 - Flags: review?(zer0)
Comment on attachment 763681 [details] a pull request As we discussed in IRC, we all agreed to land this patch as documentation fix, and thinking about a proper solution for dependencies later.
Attachment #763681 - Flags: review+
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(rFobic)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: