Django

Code

Changeset 5564

Show
Ignore:
Timestamp:
06/30/07 16:20:44 (1 year ago)
Author:
adrian
Message:

Added 'Documentation style' section to docs/contributing.txt

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/docs/contributing.txt

    r5265 r5564  
    382382              ('F', 'Female'), 
    383383          ) 
     384 
     385Documentation style 
     386=================== 
     387 
     388We place a high importance on consistency and readability of documentation. 
     389(After all, Django was created in a journalism environment!) 
     390 
     391Guidelines for ReST files 
     392------------------------- 
     393 
     394These guidelines regulate the format of our ReST documentation: 
     395 
     396        * In section titles, capitalize only initial words and proper nouns. 
     397 
     398        * Wrap the documentation at 80 characters wide, unless a code example 
     399          is significantly less readable when split over two lines, or for another 
     400          good reason. 
     401 
     402Commonly used terms 
     403------------------- 
     404 
     405Here are some style guidelines on commonly used terms throughout the 
     406documentation: 
     407 
     408        * **Django** -- when referring to the framework, capitalize Django. It is 
     409          lowercase only in Python code and in the djangoproject.com logo. 
     410 
     411        * **e-mail** -- it has a hyphen. 
     412 
     413        * **Python** -- when referring to the language, capitalize Python. 
     414 
     415        * **Realize**, **customize**, **initialize**, etc. -- use the American 
     416          "ize" suffix, not "ise." 
     417 
     418        * **Web**, **World Wide Web**, **the Web** -- note Web is always 
     419          capitalized when referring to the World Wide Web. 
     420 
     421    * **Web site** -- two words, with Web capitalized. 
     422 
     423Django-specific terminology 
     424--------------------------- 
     425 
     426        * **model** -- not capitalized. 
     427 
     428        * **template** -- not capitalized. 
     429 
     430        * **URLconf** -- three capitalized letters, no space before "conf." 
     431 
     432        * **view** -- not capitalized. 
    384433 
    385434Committing code