summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshimizukawa <shimizukawa@gmail.com>2013-03-31 12:22:08 +0900
committershimizukawa <shimizukawa@gmail.com>2013-03-31 12:22:08 +0900
commit0a1cfe9ec30c6f0c338185c1e7c200fc39643924 (patch)
tree58c29a38562878f43e09a64d25d5744bb9ddba49
parent96797f8508165201c67dd2f8709d780c842d91a3 (diff)
downloadsphinx-0a1cfe9ec30c6f0c338185c1e7c200fc39643924.tar.gz
add 'locale_dirs' and 'gettext_compact' to conf.py for translation setup easier
-rw-r--r--doc/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 8dc1e2fb..6e792b6a 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -83,6 +83,10 @@ texinfo_documents = [
# the mapping:
intersphinx_mapping = {'python': ('http://docs.python.org/dev', None)}
+# Sphinx document translation with sphinx gettext feature uses these settings:
+locale_dirs = ['locale/']
+gettext_compact = False
+
# -- Extension interface -------------------------------------------------------