You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
@TonyRenHK Hi, yep it's a limitation of the library that we use for "search functionality" which is lunr.js which as far as I know doesn't support Chinese unfortunately.
Do you have any idea how to solve the problem? Do you feel contributing?
Due to my project needed, I have updated some code which can support Chinese using lunr.js. https://github.com/TonyRenHK/hexo-theme-doc
Thank you very much for your great theme!
I think if we somehow remove the hardcoading(in chineese) for lables we can make it work, and maybe merge your branch to master.
It will benifit others, who are maybe looking for this feature. @TonyRenHK WDYT?
Actually, I mainly comment out code in line 111 to line 132 in ' lib/nodejs/search/build.js', and then the 'lunr.json' generated normally, and then I re-write the search react component in 'lib/browser/search/components.jsx' to finding the related key-word instead of using lunr's search function.
Hi, I found that I cannot search in Chinese or other language in this theme.
The text was updated successfully, but these errors were encountered: