diff options
author | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-07-16 17:37:01 +0000 |
---|---|---|
committer | gbrandl <gbrandl@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2007-07-16 17:37:01 +0000 |
commit | 8c8e213b3082a938a8b184461c402abd5289a341 (patch) | |
tree | ffb168c441e53cd323c8896356b88d634ff30f97 /sandbox/py-rest-doc/sphinx/builder.py | |
parent | 88588ed82154aba666336036f6a22d366cedaa8b (diff) | |
download | docutils-8c8e213b3082a938a8b184461c402abd5289a341.tar.gz |
- Add Jinja as an external.
- Fix a reading bug.
- Use .hasattr() instead of .has_key() for nodes.
- Remove unused code in the modindex handler.
- Always render comment form.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5373 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/py-rest-doc/sphinx/builder.py')
-rw-r--r-- | sandbox/py-rest-doc/sphinx/builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/py-rest-doc/sphinx/builder.py b/sandbox/py-rest-doc/sphinx/builder.py index 5220d8889..884718586 100644 --- a/sandbox/py-rest-doc/sphinx/builder.py +++ b/sandbox/py-rest-doc/sphinx/builder.py @@ -263,7 +263,7 @@ class StandaloneHTMLBuilder(Builder): def init(self): """Load templates.""" # lazily import this, maybe other builders won't need it - from jinja import Environment, FileSystemLoader + from .jinja import Environment, FileSystemLoader # load templates self.templates = {} |