summaryrefslogtreecommitdiff
path: root/sphinx/websupport/api.py
diff options
context:
space:
mode:
authorjacob <jacob@panda>2010-05-31 16:07:47 -0500
committerjacob <jacob@panda>2010-05-31 16:07:47 -0500
commit777386ef566a88246f6c4cadeba88fc79cc71d56 (patch)
treef8aea7bb749a96e0f7615e7aec6a4bbb6f47b9b8 /sphinx/websupport/api.py
parent0e26a6d46c1a61378b57d042968500032ba41a48 (diff)
downloadsphinx-git-777386ef566a88246f6c4cadeba88fc79cc71d56.tar.gz
Switched to creating a list of html slices
Diffstat (limited to 'sphinx/websupport/api.py')
-rw-r--r--sphinx/websupport/api.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/sphinx/websupport/api.py b/sphinx/websupport/api.py
index 3cf112a30..eca24fb5e 100644
--- a/sphinx/websupport/api.py
+++ b/sphinx/websupport/api.py
@@ -12,17 +12,14 @@
import cPickle as pickle
from os import path
-from jinja2 import Template
-
from sphinx.application import Sphinx
class WebSupport(object):
- def init(self, srcdir, outdir='', comment_html=''):
+ def init(self, srcdir, outdir=''):
self.srcdir = srcdir
self.outdir = outdir or path.join(self.srcdir, '_build',
'websupport')
- self.comment_template = Template(comment_html)
def build(self, **kwargs):
doctreedir = kwargs.pop('doctreedir',
@@ -35,6 +32,4 @@ class WebSupport(object):
infilename = path.join(self.outdir, docname + '.fpickle')
f = open(infilename, 'rb')
document = pickle.load(f)
- # The document renders the comment_template.
- document.comment_template = self.comment_template
return document