Beautiful Documentation with YUI Doc
by Stephen Woods
- 11,053 views
An introduction to YUI Doc, a language neutral documentation generator, used to generate the API Docs for YUI.
An introduction to YUI Doc, a language neutral documentation generator, used to generate the API Docs for YUI.
Video here: http://bit.ly/1jDyAm
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Apple Keynote
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 13
- Downloads
- 214
- Comments
- 0
- Embed Views
- Views on SlideShare
- 10,937
- Total Views
- 11,053
YOU might be that other developer
there is a lot to cover, this is an overview, check the website for examples
but I hate undocumented code!
most people do
but if its an api..
if you provide an api, thats the point of an api
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
If "goodness" doesn't work
why not self preservation?
Good docs save you time
complete api documentation. Like Ruby on Rails
complete api documentation. Like Ruby on Rails
How do they do that?
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
People try all types of solutions to this issue, policy, templates, rules
Some really read the code (doxygen, phpdocumentor) and will kind of work
with no comments
takes comment blocks
turns it into pretty documentation
takes comment blocks
turns it into pretty documentation
works with any language
lets you describe the code however makes sense...in other words supports all those strange
idioms in javascript
works with any language
lets you describe the code however makes sense...in other words supports all those strange
idioms in javascript
works with any language
lets you describe the code however makes sense...in other words supports all those strange
idioms in javascript
Its most important traits accuracy, docs should match the api
complete: no one likes an undocumented feature
useable: users are developers, if they can't find the docs, they might as well not exist
understandable: the docs should actually make sense. Sadly this can't be automated
Its most important traits accuracy, docs should match the api
complete: no one likes an undocumented feature
useable: users are developers, if they can't find the docs, they might as well not exist
understandable: the docs should actually make sense. Sadly this can't be automated
Its most important traits accuracy, docs should match the api
complete: no one likes an undocumented feature
useable: users are developers, if they can't find the docs, they might as well not exist
understandable: the docs should actually make sense. Sadly this can't be automated
Its most important traits accuracy, docs should match the api
complete: no one likes an undocumented feature
useable: users are developers, if they can't find the docs, they might as well not exist
understandable: the docs should actually make sense. Sadly this can't be automated
each block can have ONLY one tag
and as many secondaryTags as you like
but consistency is a good policy
YUI 3.x anim-scroll is a submodule of anim.
A submodule encompasses a subset of the parent module's functionality.
YUI 3.x anim-scroll is a submodule of anim.
A submodule encompasses a subset of the parent module's functionality.
YUI 3.x anim-scroll is a submodule of anim.
A submodule encompasses a subset of the parent module's functionality.
or YUI 3 attribute, like in widget
these must be complete and good
data types are really important
don't stress, write a build script!
if you are confused try -h
just an example
your project won't work
just an example
your project won't work