]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fixed docs not building
authorArmin Ronacher <armin.ronacher@active-4.com>
Mon, 20 May 2013 13:06:59 +0000 (14:06 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Mon, 20 May 2013 13:06:59 +0000 (14:06 +0100)
docs/faq.rst
docs/jinjaext.py
docs/templates.rst

index 4db507991a554778618ad888458be945daa9eef4..00a4d0d78ad55bc0fe18dd5607bf766da7cd6e1a 100644 (file)
@@ -157,7 +157,7 @@ Python 2.3 support you either have to use `Jinja 1`_ or other templating
 engines that still support 2.3.
 
 My Macros are overridden by something
-------------------------------------
+-------------------------------------
 
 In some situations the Jinja scoping appears arbitrary:
 
index 8395a5549e89938aba55da8bad2a6de124df4eca..3c217f84b5a96ec17adc54524f800b6a9fcba19f 100644 (file)
@@ -23,7 +23,7 @@ from pygments.style import Style
 from pygments.token import Keyword, Name, Comment, String, Error, \
      Number, Operator, Generic
 from jinja2 import Environment, FileSystemLoader
-from jinja2.utils import next
+from jinja2._compat import next
 
 
 def parse_rst(state, content_offset, doc):
index e0a19fa3d86a19ec681fc2b8aaca1c44fa3b6e64..4a6a379e204d1f8eaf94411345643f19de3863c4 100644 (file)
@@ -579,7 +579,7 @@ Inside of a for-loop block you can access some special variables:
 | `loop.depth`          | Indicates how deep in deep in a recursive loop    |
 |                       | the rendering currently is.  Starts at level 1    |
 +-----------------------+---------------------------------------------------+
-| `loop.depth0          | Indicates how deep in deep in a recursive loop    |
+| `loop.depth0`         | Indicates how deep in deep in a recursive loop    |
 |                       | the rendering currently is.  Starts at level 0    |
 +-----------------------+---------------------------------------------------+