Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
Theme color:
  • 1/3
You are here: Homepage /  Blogs /  3D SDK and Scripting Mayhem / Writing Code Comments for Effective API Reference Documentation
Writing Code Comments for Effective API Reference Documentation
Posted: Jan 04, 2010
Category: API
Social Media:
Bookmark and Share
 

Since I joined Autodesk, I have had the opportunity to work with multiple SDKs throughout the Media and Entertainment (M&E) division. I am working on trying to improve the consistency and effectiveness of our SDK documentation across various products. One step towards this is agreeing on a set of guidelines for developers writing code comments that are transfomed into SDK reference documentation.

I have written a draft document describing what I consider to be best practices for writing code comments, that are transformed into API documentation using doxygen. Most of the document is general enough though that it should apply to comments processed by other documentation generating tools such as Doc-o-matic and Sandcastle as well.

I am posting a link to the document here because I am interested in hearing any feedback from other developers about their thoughts regarding these guidelines, and to share there own suggestions for writing effective code comments.

You can find the document "Writing Code Comments for Effective API Reference Documentation" at http://docs.google.com/View?id=dgjz7z25_129f4sqrrdx.

 

In order to post any comments, you must be logged in!
Newest users comments View All 2 Comments
Posted by Christopher Diggins on Jan 15, 2010 at 11:35 AM
We do not have any plans in the short term to add more documentation to the existing SDK samples. For new SDK samples we are striving to improve our documentation.
Posted by Yannick Puech on Jan 06, 2010 at 02:04 AM
These guidelines are very useful. We can apply them also for plugins development not only for API writing.
The SDK samples aren't documented., do you plan to document them ?