mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Load non-minified JS files from sphinx.package_dir
This makes the code consistent with other parts of Sphinx, and allows downstream packagers to move all static files to /usr/share.
This commit is contained in:
parent
07633a5a71
commit
01977fcb72
@ -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
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user