summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-10-18 18:11:16 +0000
committerChris McDonough <chrism@agendaless.com>2009-10-18 18:11:16 +0000
commit090142b8b30e0d2a06348863f69d02d384655720 (patch)
tree0765545903d27cb90d7cb055c6fd454156550ded /docs
parent80a25ec8cefb7453347f567800d027072e37203e (diff)
downloadpyramid-090142b8b30e0d2a06348863f69d02d384655720.tar.gz
pyramid-090142b8b30e0d2a06348863f69d02d384655720.tar.bz2
pyramid-090142b8b30e0d2a06348863f69d02d384655720.zip
Renderings.
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hooks.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 0891174f8..5a493434e 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -212,7 +212,7 @@ pattern via configuration.
Use an ``adapter`` stanza in your application's ``configure.zcml`` to
change the default traverser:
-.. code-block: python
+.. code-block:: xml
:linenos:
<adapter
@@ -263,7 +263,7 @@ returned an object that implemented that class or interface, a custom
traverser would be used. Otherwise, the default traverser would be
used. For example:
-.. code-block: python
+.. code-block:: xml
:linenos:
<adapter
@@ -297,7 +297,7 @@ generates a URL for a specific type of :term:`context` by adding an
adapter stanza for ``IContextURL`` to your application's
``configure.zcml``:
-.. code-block: python
+.. code-block:: xml
:linenos:
<adapter