Add search
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- documentation, search, web-dev
调研方向
Start by reviewing the docsite redesign and the generated _site output, then evaluate how elasticlunr could index the
, <title>, and <h*> content. Define the search-result presentation and keyboard behavior from the examples mentioned, including how API functions should be weighted. Done means the docsite has a usable custom search without the removed DuckDuckGo bar.由索引模型根据 Issue 内容生成。
描述
In the docsite redesign we removed the duckduckgo search bar. The plan is to replace it with a custom search bar.
Current ideas for this are roughly
- use something like elasticlunr
- produce an index by scanning the generated _site, focussing the search on the
<main>,<title>, and<h*>tags with more weight on<h*>and<title> - it would be nice to recognise API functions and give them more weight so that it is possible to go to them quickly. Not sure how much work that would be.
- write js to present search results in a reasonably nice form (examples would be mdbook or the search on the tailwindcss.com site)
- make sure search can be operated by keyboard without mouse
- 主要语言
- HTML
- 星标
- 19
- 派生
- 67
- 平均合并
- 17 小时 11 分钟
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
seL4/docs 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
CI
难度 3/5 1-2 天 新手友好度 45/100
-
CI
难度 3/5 1-2 天 新手友好度 48/100
相似的 Issue
-
难度 1/5 1-3 小时 新手友好度 86/100
g1331/phantom-circuit#93 ·
维护者通常 1 天内回复
-
[OperatorHub] Add OLM installation method to the documentation #1193可能已有人在做 @NiccoloFei 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
cloudnative-pg/plugin-barman-cloud#1233 ·
维护者通常 1 天内回复
-
15.0
难度 2/5 1-3 小时 新手友好度 68/100
-
[workshop-sim] Repair: Make Copilot access and billing path decision self-contained in Steps 07/07d未关闭feedback simulation workshop
难度 2/5 1-3 小时 新手友好度 72/100
githubnext/gh-aw-workshop#5597 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Icinga/icinga-notifications-web#645 ·
维护者通常 1 天内回复