Skip to content
Myr

Fixed docs not building

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent d25577b · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:docs/faq.rst+1 added-1 removed
155 unmodified lines
156Python 2.3 support you either have to use `Jinja 1`_ or other templating157engines that still support 2.3.158159My Macros are overridden by something160------------------------------------160-------------------------------------161162In some situations the Jinja scoping appears arbitrary:163164layout.tmpl:
21 unmodified lines
modified:docs/jinjaext.py+1 added-1 removed
21 unmodified lines
22from pygments.style import Style23from pygments.token import Keyword, Name, Comment, String, Error, \24 Number, Operator, Generic25from jinja2 import Environment, FileSystemLoader26from jinja2.utils import next26from jinja2._compat import next272829def parse_rst(state, content_offset, doc):30 node = nodes.section()
165 unmodified lines
modified:docs/templates.rst+1 added-1 removed
577 unmodified lines
578+-----------------------+---------------------------------------------------+579| `loop.depth` | Indicates how deep in deep in a recursive loop |580| | the rendering currently is. Starts at level 1 |581+-----------------------+---------------------------------------------------+582| `loop.depth0 | Indicates how deep in deep in a recursive loop |582| `loop.depth0` | Indicates how deep in deep in a recursive loop |583| | the rendering currently is. Starts at level 0 |584+-----------------------+---------------------------------------------------+585586Within a for-loop, it's possible to cycle among a list of strings/variables
849 unmodified lines