koishijs / koishijs/docs

文档搜索功能没有根据文档语言对搜索结果分类

Open
#172 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
27
Forks
141
PR merge metrics
No merged PRs in 30d

Description

![搜索"declare module 'koishi'"的结果](https://github.com/koishijs/docs/assets/65129712/739d9fd7-e7e5-4d35-814b-d879b0bde6ab)

目前搜索出来的结果是 不同语言的文档混杂在一起的(第一个是de-DE、第二个是ja-JP、第三个是ru-RU......),建议:

- 根据用户当前所在的文档站点的语言(如中文),只显示中文的结果
- 或者搜索结果前面加Tab样式的选择器,由用户自己选择要搜索的文档的语言(例如英文)

Contributor guide

No contributing guide indexed for this repository

Research direction

No implementation files, tests, or entry points are named in the issue. Start by locating the documentation site's search entry point and how result languages are represented, then clarify whether results should follow the current site locale or offer language tabs. Done means multilingual results are separated according to the selected behavior and the search experience is verified across locales.

Written by the indexing model from the issue text.

Assessment

Domain
documentation, internationalization, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.