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 天內回覆