Merge pull request #3274 from mitya57/stable

Load non-minified JS files from sphinx.package_dir
This commit is contained in:
Takeshi KOMIYA
2016-12-24 16:41:11 +09:00
committed by GitHub

View File

@@ -414,7 +414,7 @@ class IndexBuilder(object):
def get_js_stemmer_rawcode(self):
if self.lang.js_stemmer_rawcode:
return path.join(
path.dirname(path.abspath(__file__)),
sphinx.package_dir, 'search',
'non-minified-js',
self.lang.js_stemmer_rawcode
)