| Trees | Indices | Help |
|
|---|
|
|
|
|||
|
HTMLGenerator Really simple HTMLGenerator starting from publish_parts |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Generator = HTMLGenerator()
|
|||
Imports: io, Publisher, roles, nodes, utils, set_classes
|
|||
|
Create and register a uri based "interpreted role"
Those are similar to the RFC, and PEP ones, and take
role_name:
name that will be registered
aliases:
list of alternate names
anchor_text:
text that will be used, together with the role
base_url:
base url for the link
interpret_url:
this, modulo the validated text, will be added to it
validator:
should return the validated text, or raise ValueError
|
|
|
|||
Generator
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 12 02:06:27 2010 | http://epydoc.sourceforge.net |