~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

Created a new help system.

The new help system allows plugins to register their help paths, using
a dict of dicts and helpfile paths. This system allows multiple plugins
to use the same heading for their help files (ie. 'admin').

It also allows XHTMLViews to have a 'help' property, which makes the
context-sensitive help link point to their help path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    'ivle.webapp.security#Plugin',
65
65
    'ivle.webapp.media#Plugin',
66
66
    'ivle.webapp.forum#Plugin',
 
67
    'ivle.webapp.help#Plugin',
67
68
68
69
 
69
70
def generate_route_mapper(view_plugins):