Closed
Bug 691795
Opened 13 years ago
Closed 13 years ago
cfx docs fails if package directory name != package name
Categories
(Add-on SDK Graveyard :: Documentation, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wbamberg, Assigned: wbamberg)
Details
Attachments
(1 file)
8.07 KB,
patch
|
warner
:
review+
|
Details | Diff | Splinter Review |
cfx docs requires the name of the directory containing a package to be the same as the name of the package. The rest of cfx doesn't. This is a bad experience for people using third party modules, as they'll probably download the third party package from (for example) GitHub, and it will probably not have the same name as the package.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #564642 -
Flags: review?(warner-bugzilla)
Priority: -- → P2
Comment 2•13 years ago
|
||
Comment on attachment 564642 [details] [diff] [review] Tolerate package directory != package name Only tiny notes: * there are some tiny whitespace fixes: the call to get_documented_modules() should be all on the same line, and there's some extra whitespace added on the second line of _create_package_summaries(). * incidentally, src_dir.split(os.sep)[-1] can be written more idiomatically as os.path.basename(src_dir) Otherwise looks good!
Attachment #564642 -
Flags: review?(warner-bugzilla) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Thanks Warner. I made those changes and landed it in https://github.com/mozilla/addon-sdk/commit/4e00787176602a47c7ccec5764867a0619ffcbc6
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•