From 9c3b2760688aca748f81529d0b055f799959ab4b Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 25 Oct 2010 18:04:18 -0400 Subject: convert API docs to Pyramid --- docs/api/chameleon_text.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/api/chameleon_text.rst') diff --git a/docs/api/chameleon_text.rst b/docs/api/chameleon_text.rst index 51e5fc58c..494f5b464 100644 --- a/docs/api/chameleon_text.rst +++ b/docs/api/chameleon_text.rst @@ -1,9 +1,9 @@ .. _chameleon_text_module: -:mod:`repoze.bfg.chameleon_text` +:mod:`pyramid.chameleon_text` ---------------------------------- -.. automodule:: repoze.bfg.chameleon_text +.. automodule:: pyramid.chameleon_text .. autofunction:: get_template @@ -14,18 +14,18 @@ These APIs will will work against template files which contain simple ``${Genshi}`` - style replacement markers. -The API of :mod:`repoze.bfg.chameleon_text` is identical to that of -:mod:`repoze.bfg.chameleon_zpt`; only its import location is +The API of :mod:`pyramid.chameleon_text` is identical to that of +:mod:`pyramid.chameleon_zpt`; only its import location is different. If you need to import an API functions from this module as -well as the :mod:`repoze.bfg.chameleon_zpt` module within the same +well as the :mod:`pyramid.chameleon_zpt` module within the same view file, use the ``as`` feature of the Python import statement, e.g.: .. code-block:: python :linenos: - from repoze.bfg.chameleon_zpt import render_template as zpt_render - from repoze.bfg.chameleon_text import render_template as text_render + from pyramid.chameleon_zpt import render_template as zpt_render + from pyramid.chameleon_text import render_template as text_render -- cgit v1.2.3