Documenting code is a rough, but necessary evil. Having a well maintained and documented code base can ease new developers into your code base and also help keep tabs on certain pieces of your application.
YUIDoc is a node app that assists in parsing certain JavaScript comments out to generate API documentation. Here are some of the basics of the syntax for documentation.
It allows you to tag pieces of your application to be processed for later documentation.