Opened 8 years ago

# [PATCH] Add class documentation to appear in [[WikiMacros]] call

Reported by: Owned by: kontakt@… Shun-ichi Goto low TicketBoxMacro trivial 0.11

### Description

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.)

### Changed 8 years ago by kontakt@…

Re-used Macro documentation for class documentation to show up in a WikiMacros call

### comment:1 Changed 8 years ago by kontakt@…

Darn, shoulda escaped that [[WikiMacros]] in the upload description, too... sorry for that.

### Modify Ticket

Action
as new The owner will remain Shun-ichi Goto.