Platform/GFX/DesignDocumentationGuidelines: Difference between revisions

No edit summary
Line 24: Line 24:
* Name the documentation file appropriately, use the .md extension (assuming it is markdown, and if not, why not?)
* Name the documentation file appropriately, use the .md extension (assuming it is markdown, and if not, why not?)
* Use the markdown syntax (and if not, why not?)
* Use the markdown syntax (and if not, why not?)
* Put \page alllowercasenameofthefile at the top
* The source file should contain a pointer to the documentation, and vice versa.
* The source file should contain a pointer to the documentation, and vice versa.
* The documentation file may reference classes or files themselves:
* The documentation file may reference classes or files themselves:
Line 30: Line 31:
** [link text](@ref mozilla::gfx::SomeClass)
** [link text](@ref mozilla::gfx::SomeClass)
** SomeClassFile.h
** SomeClassFile.h
* The source may reference the documentation file:
* The source (or other external files) may reference the documentation file:
**  
** [this way](@ref alllowercasenameofthefile)
* Good because:
* Good because:
** The documentation is versioned
** The documentation is versioned
Confirmed users
564

edits