Package gavo :: Package web :: Module examplesrender
[frames] | no frames]

Module examplesrender

source code

The renderer for VOSI examples, plus the docutils extensions provided for them.

If you have a renderer that needs custom text roles or directives, read the docstring of misctricks.RSTExtensions and add whatever roles you need below, more or less like this:

       misctricks.RSTExtensions.makeTextRole("niceRole")

Only go through RSTExtensions, as these will make sure HTML postprocessing happens as required.

The reason we keep the roles here and not in the renderer modules where they'd logically belong (and where they should be documented in the renderer docstrings) is that we don't want docutils imports all over the place.

Classes
  Examples
A renderer for examples for service usage.
Variables
  __package__ = 'gavo.web'