New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mkdocs search plugin supports zh_CN #2509
Comments
@xingkong0113 could this be related to #2472 |
It could be related but things shouldn't completely break just because the search plugin doesn't have specific support for that language. cc @ultrabug |
For the upcoming release, not to delay it, I think we will have to make the decision to not support Chinese language. |
Adding Chinese language support to the search plugin is currently not possible because of a dependency on I'm happy to be proven wrong. |
I changed the default search component and implemented a simple Chinese search by using jieba to split the content into words. Enable the search plugin in the config file, and specify the language as English and Japanese, and set the separators.plugins:
- search:
lang:
- en
- ja
separator: '[\s\-\.]+' Change the default search component
|
Follow up #2497
The following error currently occurs when using mkdocs to generate content:
The text was updated successfully, but these errors were encountered: