summaryrefslogtreecommitdiff
path: root/sphinx/domains/javascript.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-04 10:46:27 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-07-06 23:25:45 +0900
commit8a45aa5e59b87703803bfb44c696afd06b609335 (patch)
tree87adf714a05cb011b9e6213feefcf9d53c181229 /sphinx/domains/javascript.py
parentfb7e6a22acc20bbd8c0824e22f6a89cac85281ec (diff)
downloadsphinx-git-8a45aa5e59b87703803bfb44c696afd06b609335.tar.gz
Now all builders and domains work as built-in extensions
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r--sphinx/domains/javascript.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py
index b5f64022a..ade6e4224 100644
--- a/sphinx/domains/javascript.py
+++ b/sphinx/domains/javascript.py
@@ -234,3 +234,7 @@ class JavaScriptDomain(Domain):
for refname, (docname, type) in list(self.data['objects'].items()):
yield refname, refname, type, docname, \
refname.replace('$', '_S_'), 1
+
+
+def setup(app):
+ app.add_domain(JavaScriptDomain)