diff options
author | daoiqi <daoiqi@gmail.com> | 2015-12-13 16:27:28 +0800 |
---|---|---|
committer | daoiqi <daoiqi@gmail.com> | 2015-12-13 16:34:54 +0800 |
commit | e196d5f8e54d0f521a530a31d66dcec666f0b2e0 (patch) | |
tree | 7c386e5615373dee0a83e56ea0dc177cc9165ba0 /sphinx/quickstart.py | |
parent | a17af0bcb7db2a88e16e35a65d669b4f6f94dc3c (diff) | |
download | sphinx-git-e196d5f8e54d0f521a530a31d66dcec666f0b2e0.tar.gz |
change zh_TW.py to zh.py
it also support Simplified Chinese Search
Diffstat (limited to 'sphinx/quickstart.py')
-rw-r--r-- | sphinx/quickstart.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sphinx/quickstart.py b/sphinx/quickstart.py index f13a5c7cd..194d59afa 100644 --- a/sphinx/quickstart.py +++ b/sphinx/quickstart.py @@ -261,11 +261,12 @@ html_static_path = ['%(dot)sstatic'] # Language to be used for generating the HTML full-text search index. # Sphinx supports the following languages: # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' -# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' +# 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr', 'zh' #html_search_language = 'en' # A dictionary with options for the search language support, empty by default. -# Now only 'ja' uses this config value +# 'ja' uses this config value. +# 'zh' user can custom change `jieba` dictionary path. #html_search_options = {'type': 'default'} # The name of a javascript file (relative to the configuration directory) that |