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)
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
Priority: -- → P2
Assignee | ||
Comment 1•12 years ago
|
||
What's the recommended way to use third-party modules now? Copy them under your lib directory?
Assignee: nobody → wbamberg
Reporter | ||
Comment 2•12 years ago
|
||
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)
Assignee | ||
Comment 3•12 years ago
|
||
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)
Assignee | ||
Updated•12 years ago
|
Attachment #763681 -
Flags: review?(zer0)
Reporter | ||
Comment 4•12 years ago
|
||
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+
Assignee | ||
Updated•12 years ago
|
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.
Description
•