summaryrefslogtreecommitdiff
path: root/sphinx/htmlhelp.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-02-01 20:44:17 +0000
committergeorg.brandl <devnull@localhost>2008-02-01 20:44:17 +0000
commitc46c8ccc218e4d43e1c73484f1ab209eacd09192 (patch)
treeb250499a21cd2db4748cb1a0102e882120878a5e /sphinx/htmlhelp.py
parent3eb7bb6d2e077a8b8a4aac1fd3d1e965bf91f3eb (diff)
downloadsphinx-c46c8ccc218e4d43e1c73484f1ab209eacd09192.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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/htmlhelp.py b/sphinx/htmlhelp.py
index 53604d87..cee41ffe 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> ')