[PATCH] Add class documentation to appear in [[WikiMacros]] call
|Reported by:||kontakt@…||Owned by:||gotoh|
As my users are ancouraged to make use of all the TracWiki magic they want to express themselves, I like to have all those possibilities well documented. However, when I looked at the WikiMacros Page after having installed TicketBoxMacro, I noticed that [[TicketBox]] only had the word "None" showing up as documentation.
So I did a little hacking and basically just copied the doc lines from the beginning of TicketBox.py to just after the class definition, so it gets rendered by a [[WikiMacros]] call.
I've svn-diffed it and attached it as a patch, though it's trivial after all. If you decide to use it, please remember to change all two instances of the documentation when you change sth therein. (Maybe one could put it in a variable to re-use it, but I'm all new to python as of now.)