summaryrefslogtreecommitdiff
path: root/doc/conf.py
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2018-11-04 12:13:07 +0300
committerDmitry Shachnev <mitya57@gmail.com>2018-11-04 12:13:07 +0300
commit2a9cad7b2eb69144ca2764f01c74157d6f0da356 (patch)
treeab6f71b64c3900fe2c118b9078d005a7ebd80e91 /doc/conf.py
parent66867111c8444d95cbd25e888077a5178cc1caa0 (diff)
downloadsphinx-git-2a9cad7b2eb69144ca2764f01c74157d6f0da356.tar.gz
Move language-specific data into a new JS file, language_data.js
This file is included in script_files, so it will be present even for projects using custom templates. Fixes #5460.
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 724d355d0..89a5b0a4d 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -44,6 +44,7 @@ epub_post_files = [('usage/installation.xhtml', 'Installing Sphinx'),
epub_exclude_files = ['_static/opensearch.xml', '_static/doctools.js',
'_static/jquery.js', '_static/searchtools.js',
'_static/underscore.js', '_static/basic.css',
+ '_static/language_data.js',
'search.html', '_static/websupport.js']
epub_fix_images = False
epub_max_image_width = 0