Skip to content

Commit 68ebc97

Browse files
committed
Docs for Omnibox
1 parent b3890e9 commit 68ebc97

File tree

7 files changed

+37
-0
lines changed

7 files changed

+37
-0
lines changed

docs/omnibox/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Omnibox
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Error Lookups
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# File Search

docs/omnibox/query-types/index.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Omnibox Query Types
2+
3+
<p className="subtitle">This page lists the all the query types that will return search results with the Sourcegraph omnibox.</p>
4+
5+
<QuickLinks>
6+
7+
<QuickLink title="Symbol Search" icon='lightbulb' href="/omnibox/query-types/symbol-search" description="Find where a particular symbol is defined, with or without its precise name." />
8+
9+
<QuickLink title="File Search" icon='installation' href="/omnibox/query-types/file-search" description="Find where a particular file lives." />
10+
11+
<QuickLink title="Error Lookups" icon='theming' href="/omnibox/query-types/error-lookups" description="Get more information about errors with identification." />
12+
13+
<QuickLink title="String Literal Search" icon='languagemodels' href="/omnibox/query-types/string-literal-search" description="Instead of matching keyword chunks, search for an exact match using quotes." />
14+
15+
</QuickLinks>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# String Literal Search
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Symbol Search

src/data/navigation.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,23 @@ export const navigation: NavigationItem[] = [
2626
{
2727
separator: "Code Intelligence",
2828
topics: [
29+
{
30+
title: "Omnibox",
31+
href: "/omnibox",
32+
sections: [
33+
{ title: "Quickstart", href: "/omnibox/quickstart" },
34+
{
35+
title: "Query Types", href: "/omnibox/query-types",
36+
subsections: [
37+
{ title: "Symbol Search", href: "/omnibox/query-types/symbol-search", },
38+
{ title: "File Search", href: "/omnibox/query-types/file-search", },
39+
{ title: "Error Lookups", href: "/omnibox/query-types/error-lookups", },
40+
{ title: "String Literal Search", href: "/omnibox/query-types/string-literal-search", },
41+
]
42+
},
43+
{ title: "FAQs", href: "/omnibox/faq" },
44+
],
45+
},
2946
{
3047
title: "Cody",
3148
href: "/cody",

0 commit comments

Comments
 (0)