-
The following is the information displayed in the terminal $ mkdocs gh-deploy --force
INFO - Option search.lang 'zh' is not supported, falling back to 'en'
WARNING - Language 'zh' is not supported by lunr.js, not setting it in the 'plugins.search.lang' option
Building prefix dict from E:\Github\MyPamphlet\jieba_dict\dict.txt.big ...
DEBUG:jieba:Building prefix dict from E:\Github\MyPamphlet\jieba_dict\dict.txt.big ... |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Sep 12, 2023
Replies: 1 comment 16 replies
-
Not sure without knowing how you configured the project. Please create a minimal reproduction and attach it to this discussion. |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Chinese search support is not implemented via Lunr.js but via a custom impementation that segments text during the build. Here's an explanation why this is not supported in Lunr.js. If you just remove the
lang
setting from the search plugin, Chinese search should work correctly, as the search plugin will usejieba
automatically.