Vous connaissez le site de documentation ExtJS ? Vous voulez faire la même chose pour votre code ? C'est possible grâce à JsDuck.

Pour un démarrage rapide, il suffit d'installer ruby, gem et JsDuck:

 # gem install jsduck

puis de lancer l'outil sur votre code:

 $ jsduck --output votre/docs

On peut également utiliser un fichier de configuration json pour personnaliser tout ça (option --config).

Dans votre code, il suffit d'ajouter des commentaires du type:

  * commentaire d'objet, méthode ou attribut

et d'utiliser certaines annotations du type

 @param {type} nom description ....


 @return {type} description

Lisez la documentation pour plus de détails


1. Le vendredi 22 avril 2016, 09:06 par BlairTAuyong

Peculiar article, just what I was looking for.

2. Le mardi 26 avril 2016, 06:41 par TamikaJOjard

This design is spectacular! You definitely realize how to
keep a reader amused. Between your wit plus your videos, I used to be almost
moved to start my very own blog (well, almost...HaHa!) Fantastic job.
I really loved what you needed to say, and more than that, the method that you presented it.
Too cool!

3. Le mercredi 27 avril 2016, 06:35 par LoganURois

I am really loving the theme/form of your blog. Do you ever run into any browser compatibility
problems? A handful of my blog readers have complained about my website not working correctly
in Explorer but looks great in Safari. Do you possess any advice to help fix this problem?

4. Le vendredi 21 octobre 2016, 10:07 par Octavio

It's a pity you don't have a donate button! I'd definitely donate
to this excellent blog! I guess for now i'll settle for bookmarking and adding your RSS feed to my
Google account. I look forward to fresh updates and will talk about
this website with my Facebook group. Chat soon!

5. Le mardi 25 octobre 2016, 10:23 par Mark Curry MacFarlane Group

My relatives all the time say that I am killing my time here at web, except I know I am getting know-how every day
by reading such pleasant articles or reviews.

6. Le samedi 5 novembre 2016, 06:46 par advanced vehicle diagnostics

Hey this is somewhat of off topic but I was wanting to know if blogs use WYSIWYG editors
or if you have to manually code with HTML. I'm starting a blog soon but have no coding experience
so I wanted to get guidance from someone with experience.
Any help would be greatly appreciated!

7. Le mercredi 9 novembre 2016, 06:16 par best apple product

hey there and thank you for your info –
I've certainly picked up something new from right here. I did however expertise several technical issues using this
web site, since I experienced to reload the
web site lots of times previous to I could get it to load correctly.
I had been wondering if your web host is OK? Not that I'm complaining, but slow loading instances times will very frequently affect your placement in google and
could damage your quality score if ads and marketing
with Adwords. Well I am adding this RSS to my e-mail and could look out for a lot more of your
respective intriguing content. Ensure that you update
this again soon.

8. Le jeudi 10 novembre 2016, 06:34 par how to get cheap auto insurance

If some one needs to be updated with most recent technologies
after that he must be go to see this web page and be up to date

9. Le lundi 14 novembre 2016, 21:24 par best j2534 programmer

It's really a great and useful piece of information. I am happy that you simply shared this useful
information with us. Please keep us informed like this. Thanks for sharing.

10. Le dimanche 20 novembre 2016, 00:16 par car computer chip

It's a shame you don't have a donate button! I'd most certainly donate to this
brilliant blog! I guess for now i'll settle for bookmarking and adding your RSS feed to my Google account.

I look forward to brand new updates and will share this blog with my Facebook group.
Chat soon!

11. Le lundi 21 novembre 2016, 02:15 par Eddy

If you desire to get a good deal from this post then you have to
apply such strategies to your won website.

12. Le mercredi 23 novembre 2016, 03:43 par attorney first

Thanks for finally writing about >Documentation de
code ExtJS - Poum <Liked it!

13. Le mercredi 23 novembre 2016, 16:38 par defense travel system

I know this site offers quality based articles and
extra material, is there any other web page which gives these
kinds of things in quality?

14. Le jeudi 24 novembre 2016, 00:14 par attorney becomes

Hey there superb blog! Does running a blog similar to this take a massive amount work?
I have no expertise in coding but I had been hoping to start my own blog soon. Anyways, if you have
any ideas or tips for new blog owners please share. I understand this is off topic
nevertheless I simply wanted to ask. Appreciate it!

15. Le jeudi 24 novembre 2016, 19:56 par sexual abuse victims

Excellent way of explaining, and good article to take facts on the topic of my presentation focus, which i
am going to present in college.

16. Le vendredi 25 novembre 2016, 13:09 par criminal activity

Thank you for another wonderful post. The place else may anyone get that kind of info in such an ideal means of writing?
I have a presentation subsequent week, and I am
on the look for such information.

17. Le lundi 28 novembre 2016, 04:11 par find two varieties

Yes! Finally someone writes about criminal record.

18. Le vendredi 2 décembre 2016, 07:43 par

Magnificent items from you, man. I've understand your stuff prior to and
you're just too wonderful. I really like what you've got right here, certainly like what you are
stating and the way in which you are saying it. You make it enjoyable and you still take care of to stay it wise.
I cant wait to read much more from you. That is actually a wonderful site.

19. Le samedi 3 décembre 2016, 19:36 par criminal lawyers

I used to be able to find good advice from your content.

20. Le mardi 6 décembre 2016, 07:48 par common criminal

If you wish for to increase your knowledge only keep visiting this site and be updated with the most recent
news posted here.

Ajouter un commentaire

Le code HTML est affiché comme du texte et les adresses web sont automatiquement transformées.

La discussion continue ailleurs

URL de rétrolien :