diff options
author | Georg Brandl <georg@python.org> | 2008-02-01 20:44:17 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-02-01 20:44:17 +0000 |
commit | b2ec05e690aa2870967ed188ac9a3be0b0fd8db6 (patch) | |
tree | b250499a21cd2db4748cb1a0102e882120878a5e /sphinx/htmlhelp.py | |
parent | 8ca7c9144317ca8ce1b1f29383174a884ac910b3 (diff) | |
download | sphinx-git-b2ec05e690aa2870967ed188ac9a3be0b0fd8db6.tar.gz |
More refactoring, this time allowing different file extensions
and a different master file. Also fix environment warning reporting
and improve handling of error conditions.
Diffstat (limited to 'sphinx/htmlhelp.py')
-rw-r--r-- | sphinx/htmlhelp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/htmlhelp.py b/sphinx/htmlhelp.py index 53604d87d..cee41ffe1 100644 --- a/sphinx/htmlhelp.py +++ b/sphinx/htmlhelp.py @@ -149,7 +149,7 @@ def build_hhx(builder, outdir, outname): f.write('<LI> ' + object_sitemap % ('Main page', 'index.html')) f.write('<LI> ' + object_sitemap % ('Global Module Index', 'modindex.html')) # the TOC - toc = builder.env.get_and_resolve_doctree('contents.rst', builder) + toc = builder.env.get_and_resolve_doctree(builder.config.master_doc, builder) def write_toc(node, ullevel=0): if isinstance(node, nodes.list_item): f.write('<LI> ') |