summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/api/interfaces.rst5
-rw-r--r--docs/narr/renderers.rst7
2 files changed, 9 insertions, 3 deletions
diff --git a/docs/api/interfaces.rst b/docs/api/interfaces.rst
index 1dea5fab0..d8d935afd 100644
--- a/docs/api/interfaces.rst
+++ b/docs/api/interfaces.rst
@@ -50,7 +50,10 @@ Other Interfaces
.. autointerface:: IRendererInfo
:members:
- .. autointerface:: ITemplateRenderer
+ .. autointerface:: IRendererFactory
+ :members:
+
+ .. autointerface:: IRenderer
:members:
.. autointerface:: IViewMapperFactory
diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst
index 740c81555..4f8c4bf77 100644
--- a/docs/narr/renderers.rst
+++ b/docs/narr/renderers.rst
@@ -480,8 +480,11 @@ Adding a New Renderer
You may add a new renderer by creating and registering a :term:`renderer
factory`.
-A renderer factory implementation is typically a class with the
-following interface:
+A renderer factory implementation should conform to the
+:class:`pyramid.interfaces.IRendererFactory` interface. It should be capable
+of creating an object that conforms to the
+:class:`pyramid.interfaces.IRenderer` interface. A typical class that follows
+this setup is as follows:
.. code-block:: python
:linenos: