module documentation
Utility functions to return a formatted name and description for a given view.
Class | lazy |
Delay formatting until it's actually needed. |
Function | camelcase |
Translate 'CamelCaseNames' to 'Camel Case Names'. Used when generating names from view classes. |
Function | dedent |
Remove leading indent from a block of text. Used when generating descriptions from docstrings. |
Function | markup |
Apply HTML markup to the given description. |
Function | remove |
Strip trailing component `trailing` from `content` if it exists. Used when generating names from view classes. |