summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic/static/doctools.js
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-20 01:13:23 +0100
committerGeorg Brandl <georg@python.org>2010-02-20 01:13:23 +0100
commit454ecf80a40244e5d9220925df093da104441fef (patch)
tree4cb0f9cd3897bf61524e76eb51f3d313f0157f0e /sphinx/themes/basic/static/doctools.js
parentf440e08ffc82b33d150a1007ab2b844894212a13 (diff)
downloadsphinx-git-454ecf80a40244e5d9220925df093da104441fef.tar.gz
Make the concept of "module index" generalized to domains. As a side-effect, the latex modindex is no longer generated by LaTeX.
Diffstat (limited to 'sphinx/themes/basic/static/doctools.js')
-rw-r--r--sphinx/themes/basic/static/doctools.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/sphinx/themes/basic/static/doctools.js b/sphinx/themes/basic/static/doctools.js
index e91c4f3eb..28c7a6da3 100644
--- a/sphinx/themes/basic/static/doctools.js
+++ b/sphinx/themes/basic/static/doctools.js
@@ -111,7 +111,7 @@ var Documentation = {
init : function() {
this.fixFirefoxAnchorBug();
this.highlightSearchWords();
- this.initModIndex();
+ this.initIndexTable();
},
/**
@@ -192,9 +192,9 @@ var Documentation = {
},
/**
- * init the modindex toggle buttons
+ * init the domain index toggle buttons
*/
- initModIndex : function() {
+ initIndexTable : function() {
var togglers = $('img.toggler').click(function() {
var src = $(this).attr('src');
var idnum = $(this).attr('id').substr(7);
@@ -204,7 +204,7 @@ var Documentation = {
else
$(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
}).css('display', '');
- if (DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX) {
+ if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) {
togglers.click();
}
},