diff options
author | jacob <jacob@panda> | 2010-05-31 16:07:47 -0500 |
---|---|---|
committer | jacob <jacob@panda> | 2010-05-31 16:07:47 -0500 |
commit | 777386ef566a88246f6c4cadeba88fc79cc71d56 (patch) | |
tree | f8aea7bb749a96e0f7615e7aec6a4bbb6f47b9b8 /sphinx/builders/websupport.py | |
parent | 0e26a6d46c1a61378b57d042968500032ba41a48 (diff) | |
download | sphinx-git-777386ef566a88246f6c4cadeba88fc79cc71d56.tar.gz |
Switched to creating a list of html slices
Diffstat (limited to 'sphinx/builders/websupport.py')
-rw-r--r-- | sphinx/builders/websupport.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sphinx/builders/websupport.py b/sphinx/builders/websupport.py index d39bbd6de..f6b64849c 100644 --- a/sphinx/builders/websupport.py +++ b/sphinx/builders/websupport.py @@ -26,7 +26,7 @@ class WebSupportBuilder(PickleHTMLBuilder): self.translator_class = WebSupportTranslator def write_doc(self, docname, doctree): - # The translator needs the docuname to generate ids. + # The translator needs the docname to generate ids. self.docname = docname PickleHTMLBuilder.write_doc(self, docname, doctree) @@ -38,10 +38,8 @@ class WebSupportBuilder(PickleHTMLBuilder): self.app.emit('html-page-context', pagename, ctx) # Instead of pickling ctx as PickleHTMLBuilder does, we - # create a Document object and pickle that. + # have created a Document object and pickle that. document = self.docwriter.visitor.support_document - document.body = ctx['body'] if 'body' in ctx else '' - document.title = ctx['title'] if 'title' in ctx else '' doc_filename = path.join(self.outdir, os_path(pagename) + self.out_suffix) |