diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2010-11-28 12:28:30 -0500 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2010-11-28 12:29:25 -0500 |
| commit | 16cd50c1a5beef98c3297d105c1ccffccb8872c5 (patch) | |
| tree | a42f0b082048c13916d48ca23719ec8d78074642 /docs/narr/templates.rst | |
| parent | 099ac84208c019300174c0c8722cff7687bb43ca (diff) | |
| download | pyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.tar.gz pyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.tar.bz2 pyramid-16cd50c1a5beef98c3297d105c1ccffccb8872c5.zip | |
Normalized narrative doc, code with linenos while text+bash don't
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index e11f69ab1..c1c2fe31e 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -593,7 +593,6 @@ author's ``svn propedit svn:ignore .`` in each of my ``templates`` directories. .. code-block:: text - :linenos: *.pt.py *.txt.py @@ -632,7 +631,8 @@ To use a setting in the application ``.ini`` file for the same purpose, set the ``debug_templates`` key to ``true`` within the application's configuration section, e.g.: -.. code-block:: guess +.. code-block:: ini + :linenos: [app:main] use = egg:MyProject#app @@ -642,7 +642,7 @@ With template debugging off, a :exc:`NameError` exception resulting from rendering a template with an undefined variable (e.g. ``${wrong}``) might end like this: -.. code-block:: python +.. code-block:: text File "...", in __getitem__ raise NameError(key) @@ -794,7 +794,8 @@ To use a setting in the application ``.ini`` file for the same purpose, set the ``reload_templates`` key to ``true`` within the application's configuration section, e.g.: -.. code-block:: guess +.. code-block:: ini + :linenos: [app:main] use = egg:MyProject#app |
