Short description

Plugins (macros, parsers (may be actions)) should come with their own documentation. MoinMoin should be able to build help pages out of them and offer direct help to the user while editing.

Implementation ideas

Use HelpOnMacros

What about extracting the macro help out of the HelpOnMacros page? That would give a simple method of i18n and an easy way of maintaining it. External macros could offer their help with in their file ofcause.

The problem is HelpOnMacros does not help at all. For each macro we need few lines of help, like this text (copied from NewPage.py):

    """ NewPage - create new pages

    Let you create new page using optional template, button text
    and parent page (for automatic subpages).

    Usage:

        [[NewPage(template, buttonLabel, parentPage)]]
        
    Examples:

        [[NewPage]]

            Create an input field with 'Create New Page' button. The new
            page will not use a template.

        [[NewPage(BugTemplate, Create New Bug, MoinMoinBugs)]]
        
            Create an input field with button labeled 'Create New
            Bug'.  The new page will use the BugTemplate template,
            and create the page as a subpage of MoinMoinBugs.
    """

Less then that is not enough. Reading the source is not an option for most users.

Help text should be formatted in rst to be compatible with epydoc, and we can parse it for the wiki display using rest parser.

I do have already a lot of comments on my parsers/macros and I am interested to change them for this. Please could you show some kind of template. -- ReimarBauer 2005-08-30 06:27:14

I18N

User interface


Overlooking that all, that doesn't look like going into 1.5, because it simply is a too big change and it isn't even clear yet, how to do it best. -- ThomasWaldmann 2005-09-23 18:55:41


I think on a simple action macro at the moment which I could add -- ReimarBauer 2005-09-25 20:22:18

see ActionMarket/HelpOn -- ReimarBauer 2005-10-15 19:44:32

I Suggest thatan info about a plugin is accessible via SystemInfo where all plugins are listed (the names should be clickable)


CategoryFeatureRequest

MoinMoin: SelfdocumentingPlugins (last edited 2007-10-29 19:06:57 by localhost)