summaryrefslogtreecommitdiff
path: root/sphinx/domains/javascript.py
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2016-02-13 22:30:06 +0900
committershimizukawa <shimizukawa@gmail.com>2016-02-14 19:28:58 +0900
commite6a5a3a92e938fcd75866b4227db9e0524d58f7c (patch)
tree193a7211fd4ce3a042e087f8c9b836de040f5bbe /sphinx/domains/javascript.py
parent358a13ee72a538eed1c1d8b5001cf68760934e22 (diff)
downloadsphinx-git-e6a5a3a92e938fcd75866b4227db9e0524d58f7c.tar.gz
classifier of glossary terms can be used for index entries grouping key. The classifier also be used for translation. See also :ref:`glossary-directive`.
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r--sphinx/domains/javascript.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py
index f7e2703e4..b5f64022a 100644
--- a/sphinx/domains/javascript.py
+++ b/sphinx/domains/javascript.py
@@ -97,7 +97,7 @@ class JSObject(ObjectDescription):
if indextext:
self.indexnode['entries'].append(('single', indextext,
fullname.replace('$', '_S_'),
- ''))
+ '', None))
def get_index_text(self, objectname, name_obj):
name, obj = name_obj