mirror of
https://github.com/nickshanks/ResKnife.git
synced 2024-11-15 15:08:49 +00:00
I wish I had a markdown editor that did live previewing
That way I wouldn't have to commit to Github each time I wanted to see how my edits looked
This commit is contained in:
parent
e74056d839
commit
bbd36e8d84
25
README.md
25
README.md
@ -1,8 +1,14 @@
|
||||
/*
|
||||
* * * * * * * * * * * *
|
||||
RESKNIFE READ-ME
|
||||
* * * * * * * * * * * *
|
||||
Last updated: 9 November 2003 (i.e. a really long time ago)
|
||||
|
||||
#* * * * * * * * * * * *
|
||||
|
||||
#RESKNIFE READ-ME
|
||||
|
||||
#* * * * * * * * * * * *
|
||||
|
||||
|
||||
Last updated by someone official: 9 November 2003 (i.e. a really long time ago)
|
||||
|
||||
WHAT IS IT?
|
||||
-----------
|
||||
|
||||
@ -65,8 +71,8 @@ Notes on commenting/documenting for the ResKnife project:
|
||||
|
||||
ResKnife methods, functions, headers, classes, ivars and practically anything else is commented using the format specified by HeaderDoc (a C-based equivalent to JavaDoc), although with ResKnife-specific modifications (NB: although I've yet to modify HeaderDoc to read these new parameters, they should still be used for the time being). The general format is to use the standard C block-commenting mechanism, with the addition of an exclamation mark immediately after the open comment marker. Following this are one or more lines beginning with an at sign, a keyword, arguments if any, and finally a string value. For source code consistency, I (Nicholas) am suggesting the following when documenting an object.
|
||||
|
||||
1) All HeaderDoc comments immediately precede the object to which they pertain.
|
||||
2) HeaderDoc comments documenting a method or function must follow the following order (for consistency & readability), where an ellipsis indicates the line above can be repeated multiple times:
|
||||
1) All HeaderDoc comments immediately precede the object to which they pertain.
|
||||
2) HeaderDoc comments documenting a method or function must follow the following order (for consistency & readability), where an ellipsis indicates the line above can be repeated multiple times:
|
||||
|
||||
`@method` or `@function`
|
||||
`@abstract`
|
||||
@ -80,10 +86,9 @@ ResKnife methods, functions, headers, classes, ivars and practically anything el
|
||||
`@param` [listed in order taken by method/function]
|
||||
...
|
||||
|
||||
3) The pertinent keywords or their equivalents in the above item should retain the specified order wherever reasonably applicable (e.g. for `@class` and `@protocol` comments)
|
||||
4) The value for the `@created` keyword should take the following form: YYYY-MM-DD
|
||||
5) The value for the `@updated` keyword should take the following form: YYYY-MM-DD Author: Description
|
||||
where Author is your initials or sourceforge user name.
|
||||
3) The pertinent keywords or their equivalents in the above item should retain the specified order wherever reasonably applicable (e.g. for `@class` and `@protocol` comments)
|
||||
4) The value for the `@created` keyword should take the following form: `YYYY-MM-DD`
|
||||
5) The value for the `@updated` keyword should take the following form: `YYYY-MM-DD Author: Description` where "Author" is your initials or Sourceforge user name (or Github user name).
|
||||
|
||||
Due to really poor maintenance on my part, very few methods have `@updated` comments. Sorry :-(
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user