Skip to content

Commit

Permalink
Add documentation for the filters
Browse files Browse the repository at this point in the history
  • Loading branch information
tchoutri committed Dec 13, 2023
1 parent 64f85e6 commit 5679cdd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ slug: /
Read more about:

* [Namespaces](/namespaces)
* [Search features](/search-features)
14 changes: 14 additions & 0 deletions docs/docs/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Search features
slug: search-features
---

While searching for packages you may want to refine the search terms with modifiers.
Currently, the following modifiers are available:

* `depends:<@namespace>/<packagename>`: Shows the dependents page for a package
* `in:<@namespace> <packagename>`: Searches for a package name in the specified namespace
* `in:<@namespace>`: Lists packages in a namespace

These modifiers must be placed at the very beginning of the search query, otherwise they will
be interpreted as a search term.

0 comments on commit 5679cdd

Please sign in to comment.