#5713 closed defect (wontfix)
Duplicate documentation entry on WikiMacros page
Reported by: | Ryan J Ollos | Owned by: | John Hampton |
---|---|---|---|
Priority: | normal | Component: | EmailProcessorMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
With the EmailProcessorMacro installed, I see two entries listed on the WikiMacros page of the documentation (/wiki/WikiMacros). One has a section heading [email] and the other has a section heading [Email]. See attached screen capture.
Attachments (2)
Change History (7)
Changed 15 years ago by
Attachment: | EmailProcessorMacroDocumentationBug.png added |
---|
Changed 15 years ago by
Attachment: | EmailProcessorMacroDocumentationBug.2.png added |
---|
Screen capture showing duplicate documentation entry
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
I believe this issue is due to allowing upper and lower case for the first letter of the class name:
def get_macros(self): """Yield the name of the macro based on the class name.""" yield 'email' yield 'Email'
comment:3 Changed 15 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This is indeed due to allowing for #!email
and #!Email
. While unfortunate, it's not really a bug in the email processor macro. It's just simply due to how the MacroList macro generates the docs.
comment:4 Changed 15 years ago by
Thanks for the follow-up. I'm going to look more closely at the Trac core to see if there is something we can do to avoid this situation.
Screen capture showing duplicate documentation entry