增加中文搜索支持

This commit is contained in:
XiongNeng
2014-08-20 10:10:58 +08:00
parent e69497d29c
commit 764b86971f
9 changed files with 276199 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ import os
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = ['chinese_search']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -268,3 +268,5 @@ if not on_rtd: # only import and set the theme if we're building docs locally
# otherwise, readthedocs.org uses their theme by default, so no need to specify it
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_exts = "../exts"
sys.path.append(os.path.abspath(_exts))