diff options
| author | Georg Brandl <georg@python.org> | 2010-07-28 18:55:39 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-07-28 18:55:39 +0200 |
| commit | 5ed4e6e6798a7f2c8c7eb7facd670639e162786b (patch) | |
| tree | 72883ced5ba1e122617a2605b5ae07d57b1300ed | |
| parent | 8232e3a896fb23e71c11c0d41901a50a36c4690c (diff) | |
| download | sphinx-5ed4e6e6798a7f2c8c7eb7facd670639e162786b.tar.gz | |
Pass document name as bytes.
| -rw-r--r-- | sphinx/builders/html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/builders/html.py b/sphinx/builders/html.py index 8d96c146..c5f7312a 100644 --- a/sphinx/builders/html.py +++ b/sphinx/builders/html.py @@ -35,7 +35,7 @@ from sphinx.util.osutil import SEP, os_path, relative_uri, ensuredir, \ movefile, ustrftime, copyfile from sphinx.util.nodes import inline_all_toctrees from sphinx.util.matching import patmatch, compile_matchers -from sphinx.util.pycompat import any +from sphinx.util.pycompat import any, b from sphinx.errors import SphinxError from sphinx.locale import _ from sphinx.search import js_index @@ -199,7 +199,7 @@ class StandaloneHTMLBuilder(Builder): """Utility: Render a lone doctree node.""" if node is None: return {'fragment': ''} - doc = new_document('<partial node>') + doc = new_document(b('<partial node>')) doc.append(node) if self._publisher is None: |
