chrissimpkins / cinder

A clean, responsive MkDocs theme
http://sourcefoundry.org/cinder/
Other
208 stars 111 forks source link

can not support chinese search . #44

Closed handbye closed 6 years ago

handbye commented 6 years ago

thank you for this theme , I come from china. i should write chinses document. but i find it do not support Chinese search. only english.

so, can you do further optimization.

thanks very much!

chrissimpkins commented 6 years ago

Thanks for the report @handbye. The search capabilities are provided by the upstream MkDocs project. We don't have control over it. Can I ask you to post this issue on that repository? Please feel free to reopen to let us know what you find. Sorry for your troubles.

handbye commented 6 years ago

@chrissimpkins thank you for yuour answer. i find a theme can support chinese search, so i think The search capabilities are not provided by the upstream MkDocs project. About MkDocs project, i do not really understand.
The documentation for this theme https://github.com/squidfunk/mkdocs-material

About search https://squidfunk.github.io/mkdocs-material/getting-started/#site-search . can you refer to this ? thanks very much !!!

chrissimpkins commented 6 years ago

@handbye It looks like the mkdocs-material theme that you linked is using https://lunrjs.com/ as the search source for the theme. If lunr.js performs search with CJK languages, you would need to update this theme with lunr.js in order to support this search.