Debug output - showing information from the rendering context,
and edit site.html
to test own expressions:
Checking some href information:
req.base_path: $req.base_path
req.href(): ${req.href()}
req.base_url: $req.base_url
req.abs_href(): ${req.abs_href()}
Try using reg.hef(): ${req.href('wiki')}
context.env.path: ${pprint(defined('context') and context.env.path or 'not defined')}
req.args: ${pprint(req.args)}
Test fetching an element: ${select('div[@id="mainnav"]')}
perm for ${perm.username}: ${pprint(perm.permissions())}
project: ${pprint(project)}
trac: ${pprint(trac or 'not defined')}
context members: ${pprint(defined('context') and dir(context) or 'not defined')}
context.__dict__: ${pprint(defined('context') and context.__dict__ or 'not defined')}
context.env.__dict__: ${pprint(defined('context') and context.env.__dict__ or 'not defined')}
req.environ:
req members: ${pprint(dir(req))}
req __dict__:
all objects from locals():
__builtins__: