Difference between revisions of "Documentation"

From Avogadro - Free cross-platform molecule editor
Jump to: navigation, search
Line 1: Line 1:
 
Always give parameter (@param) and return (@return) descriptions:
 
Always give parameter (@param) and return (@return) descriptions:
: Do not capitalize the first word of the description.
+
* Do not capitalize the first word of the description.
: Do not include an ending period (.) unless the description contains multiple sentences.
+
* Do not include an ending period (.) unless the description contains multiple sentences.
  
 
Give an @author when possible.  When you make changes add your name to the list.
 
Give an @author when possible.  When you make changes add your name to the list.

Revision as of 11:40, 15 March 2007

Always give parameter (@param) and return (@return) descriptions:

  • Do not capitalize the first word of the description.
  • Do not include an ending period (.) unless the description contains multiple sentences.

Give an @author when possible. When you make changes add your name to the list.

Use @brief comments only for class definitions, this is the only case where brief will be beneficial.


Links

KDE Library Documentation Policy