diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-07-04 10:46:27 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2016-07-06 23:25:45 +0900 |
commit | 8a45aa5e59b87703803bfb44c696afd06b609335 (patch) | |
tree | 87adf714a05cb011b9e6213feefcf9d53c181229 /sphinx/domains/javascript.py | |
parent | fb7e6a22acc20bbd8c0824e22f6a89cac85281ec (diff) | |
download | sphinx-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.py | 4 |
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) |