repo.or.cz
/
docutils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revise `HTMLTranslator.prepare_svg()`.
[docutils.git]
/
sandbox
/
py-rest-doc
/
sphinx
/
_jinja.py
blob
3a61801f2c83a1d7ed84cea179614d1b8d340797
1
# -*- coding: utf-8 -*-
2
"""
3
sphinx._jinja
4
~~~~~~~~~~~~~
5
6
Jinja glue.
7
8
:copyright: 2007 by Georg Brandl.
9
:license: Python license.
10
"""
11
from
__future__
import
absolute_import
12
13
import
sys
14
from
os
import
path
15
16
sys
.
path
.
insert
(
0
,
path
.
dirname
(
__file__
))
17
18
from
jinja
import
Environment
,
FileSystemLoader