Closed
Bug 1173675
Opened 10 years ago
Closed 10 years ago
link gaia jsdoc gh-page on per app readme
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gasolin, Assigned: gasolin)
Details
Attachments
(5 files)
|
46 bytes,
text/x-github-pull-request
|
arthurcc
:
review+
|
Details | Review |
|
52 bytes,
text/plain
|
mmedeiros
:
review-
|
Details |
|
46 bytes,
text/x-github-pull-request
|
justindarc
:
review+
|
Details | Review |
|
46 bytes,
text/x-github-pull-request
|
mmedeiros
:
review-
mcav
:
review+
squib
:
review-
rudyl
:
review+
steveck
:
review+
|
Details | Review |
|
46 bytes,
text/x-github-pull-request
|
alive
:
review+
|
Details | Review |
link jsdoc such as http://mozilla-b2g.github.io/gaia/settings/ on per app readme. It will help new contributors to grasp our code base better.
| Assignee | ||
Comment 1•10 years ago
|
||
The generated jsdoc is now hosting on gh-pages http://mozilla-b2g.github.io/gaia/settings/ . Add link on readme to help contributor grasp our code.
Attachment #8620839 -
Flags: review?(arthur.chen)
| Assignee | ||
Comment 2•10 years ago
|
||
The generated jsdoc is now hosting on gh-pages http://mozilla-b2g.github.io/gaia/calendar/ . Add link on readme to help contributor grasp our code.
Attachment #8620842 -
Flags: review?(mmedeiros)
| Assignee | ||
Comment 3•10 years ago
|
||
The generated jsdoc is now hosting on gh-pages http://mozilla-b2g.github.io/gaia/camera/ . Add link on readme to help contributor grasp our code.
Attachment #8620846 -
Flags: review?(jdarcangelo)
Comment 4•10 years ago
|
||
Comment on attachment 8620846 [details] [review]
pull request for camera
LGTM. Thanks!
Attachment #8620846 -
Flags: review?(jdarcangelo) → review+
Comment 5•10 years ago
|
||
Comment on attachment 8620839 [details] [review]
pull request for settings
r=me, thanks.
Attachment #8620839 -
Flags: review?(arthur.chen) → review+
| Assignee | ||
Comment 6•10 years ago
|
||
settings https://github.com/mozilla-b2g/gaia/commit/4f35cfd5d5a91c8f34fd138badfbdfca9253d35d
camera https://github.com/mozilla-b2g/gaia/commit/70f676b76be30c1185358d6ed4823fba0c343644
thanks!
Status: NEW → ASSIGNED
| Assignee | ||
Comment 7•10 years ago
|
||
The generated jsdoc is now hosting on gh-pages http://mozilla-b2g.github.io/gaia/<app_name>/ . Add link on readme to help contributor grasp our code.
Attachment #8622330 -
Flags: review?(squibblyflabbetydoo)
Attachment #8622330 -
Flags: review?(schung)
Attachment #8622330 -
Flags: review?(rlu)
Attachment #8622330 -
Flags: review?(mmedeiros)
Attachment #8622330 -
Flags: review?(m)
Attachment #8622330 -
Flags: review?(jrburke)
| Assignee | ||
Comment 8•10 years ago
|
||
The generated jsdoc is now hosting on gh-pages http://mozilla-b2g.github.io/gaia/system/ . Add readme and jsdoc link to help contributor grasp our code.
Attachment #8622332 -
Flags: review?(alegnadise+moz)
Comment 9•10 years ago
|
||
Comment on attachment 8622330 [details] [review]
pull request for apps
Looks good to me, please help take a look at the nits I commented on the pr.
Thank you.
Attachment #8622330 -
Flags: review?(rlu) → review+
Updated•10 years ago
|
Attachment #8622332 -
Flags: review?(alegnadise+moz) → review+
Comment 10•10 years ago
|
||
It seems a bit strange to me to put this in every subdirectory's README, rather than just in the main README...
Comment 11•10 years ago
|
||
Comment on attachment 8622330 [details] [review]
pull request for apps
I agree with :squib, seems fine just to do in the main readme instead of each app.
For email specifically: while we use some jsdoc-like comments in email, it is more to aid in the source code reading, not to really be useful as generated docs. The end result: the generated docs are not very useful, particularly since we do not use the tags for jsdoc to recognize modules.
So I would prefer for email to just not include the jsdoc mention in the readme: to me that indicates we are suggesting that it might be useful when in the current state it is not.
Perhaps with this new jsdoc infrastructure it would be possible for use to now do comment changes in email to then make it useful, but I think it is too soon for email's readme to suggest users looking at the generated output.
Attachment #8622330 -
Flags: review?(jrburke)
| Assignee | ||
Comment 12•10 years ago
|
||
As james said not all app use or recommend to document with jsdoc, user will feel frustrated while checking the main README but linked to a void document.
I'd remove jsdoc section in email. And ringtone as well if :squib prefer so.
Flags: needinfo?(squibblyflabbetydoo)
Comment 13•10 years ago
|
||
Comment on attachment 8622330 [details] [review]
pull request for apps
LGTM, thanks!
Attachment #8622330 -
Flags: review?(schung) → review+
Comment 14•10 years ago
|
||
Comment on attachment 8622330 [details] [review]
pull request for apps
I checked the generated docs for Ringtones, and like E-mail, they're not very good. Most of the function comments aren't getting picked up (probably because of how Ringtones defines some of its modules), so in the interest of not confusing people, I don't think we should advertise the Ringtones docs.
Flags: needinfo?(squibblyflabbetydoo)
Attachment #8622330 -
Flags: review?(squibblyflabbetydoo) → review-
| Assignee | ||
Comment 15•10 years ago
|
||
Ok it's totally up to module owner to decide if its proper or not to add the link on README. I'll remove Ringtones docs from the PR.
Updated•10 years ago
|
Attachment #8622330 -
Flags: review?(m) → review+
| Assignee | ||
Comment 16•10 years ago
|
||
Updated•10 years ago
|
Attachment #8620842 -
Flags: review?(mmedeiros) → review+
| Assignee | ||
Comment 17•10 years ago
|
||
:mmedeiros thanks for calendar review. could you help review clock part as well?
Flags: needinfo?(mmedeiros)
Comment 18•10 years ago
|
||
Comment on attachment 8622330 [details] [review]
pull request for apps
Clock documentation is not going to help contributors in any way. I think the same can be said about the Calendar documentation as well. JSDoc is not recognizing the modules (everything is displayed as part of the "Global" namespace) and there are very few documented methods.
I initially assumed that all the apps needed links to JSDoc, only now I realized it is optional.
Flags: needinfo?(mmedeiros)
Attachment #8622330 -
Flags: review?(mmedeiros) → review-
Comment 19•10 years ago
|
||
Comment on attachment 8620842 [details]
pull request for calendar
changed my mind, JSDoc is not helping in any way and might confuse contributors. sorry about that.
Attachment #8620842 -
Flags: review+ → review-
| Assignee | ||
Comment 20•10 years ago
|
||
It's fine I'll leave calendar and clock jsdoc not listed in README.
| Assignee | ||
Comment 21•10 years ago
|
||
merged for sms, keyboard, camera https://github.com/mozilla-b2g/gaia/commit/9ea3792b58302d15d99caa643f9472a4885b6485
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•