| Home | Trees | Index | Help |
|
|---|
| Package lyntin :: Module helpmanager |
|
It's interesting to note that the README and COMMANDS files are generated entirely of in-game help topics using a template script file and my personal home-brew #exporthelp command.
The help manager holds a hierarchy of help files indexed by category. It also houses a series of methods for adding new help text, parsing help file text, and also exporting help content into some format which then can be converted to a variety of other formats: HTML, XML, JoesMagicTextMarkup, ...| Classes | |
|---|---|
HelpManager |
The HelpManager exists on the engine scoping--there is only one per Lyntin instance. |
| Function Summary | |
|---|---|
| tuple of (dict, string) |
Parses out the directives in the last lines of a given help text and returns these directives in a dict. |
| Variable Summary | |
|---|---|
list |
_directives = ['category']
|
| Function Details |
|---|
_parse_directives(helptext)Parses out the directives in the last lines of a given help text and returns these directives in a dict. Also strips the helptext (removing whitespace at the beginning and the end), removes directives found at the end, and returns this adjusted help text. To add new directives to extract, add them to the '_directives' variable. If no directives were found, we return an empty string.
|
| Variable Details |
|---|
_directives
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Mon Aug 9 09:17:41 2004 | http://epydoc.sf.net |