Filter documentation via a query parameter for better browser interoperability
维护者通常 2 天内回复
@torresga 已经在做这个了。
开始于 2023年10月5日。
评估
调研方向
从 issue 中显示的 DevDocs 查询端点 https://devdocs.io/#q=%s 开始,跟踪浏览器如何处理 q 参数和文档过滤。完成的标准是 URL 可以包含 doc=ruby3-1,使搜索仅针对请求的文档集执行。
由索引模型根据 Issue 内容生成。
描述
Feature request
Filter documentation via an optional query parameter
Summary
DevDocs makes it really easy to filter on a specific set of docs in the UI, which is great. I use this in conjunction with browser site search to pass queries directly to the DevDocs search endpoint to skip landing on the main page first. However, there is one disadvantage: I can't seem to filter the documentation from the search endpoint directly. If want to search for a ruby-specific method from site search, I need to land on the main DevDocs page and filter manually.
Browsers are embracing custom site search functionality to allow quick access to search endpoints that can be invoked via a shortcut and this has become an important part of my workflow. It would be great to have documentation filtering in the search API to improve the interoperability of DevDocs search.
Examples
The query endpoint looks like this:
https://devdocs.io/#q=%s where %s is replaced with my query string
It would be great to be able to do something like this to search only within Ruby 3.1:
https://devdocs.io/#q=%s&doc=ruby3-1
- 主要语言
- Ruby
- 星标
- 39.7k
- 派生
- 2.7k
- 平均合并
- 5 天 10 小时
- 30 天内合并 PR
- 13
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
freeCodeCamp/devdocs 的其他 Issue
-
docs/improvement
难度 2/5 1-3 小时 新手友好度 62/100
freeCodeCamp/devdocs#1989 · 4 条评论 · 4 个 reaction ·
维护者通常 2 天内回复
-
Documentation versions report for November 2026可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 5/5 一周以上 新手友好度 35/100
freeCodeCamp/devdocs#2794 · 2 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 32/100
freeCodeCamp/devdocs#2780 ·
维护者通常 2 天内回复
-
sidebar未关闭feature
难度 4/5 3-5 天 新手友好度 22/100
freeCodeCamp/devdocs#2776 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 8/100
freeCodeCamp/devdocs#2746 ·
维护者通常 2 天内回复
查看 freeCodeCamp/devdocs 的全部 Issue
相似的 Issue
-
Suggest link: Destiny Verify (MIT zero-dependency pre-commit security, citation & link hygiene CLI)未关闭
难度 1/5 1 小时以内 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 86/100
TheOdinProject/curriculum#31585 ·
维护者通常 1 天内回复
-
enhancement P2 v1.6.0
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
No test checks that judges print creates nested output directories (lib/judges/commands/print.rb:62)可能已有人在做 @sherenkov 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
yegor256/judges#1360 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
zold-io/wts.zold.io#654 ·
维护者通常 1 天内回复