Skip to content

Commit acf75fd

Browse files
wip on docs
1 parent ff0e4a3 commit acf75fd

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

docs/docs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
"pages": [
5151
"docs/search/syntax-reference",
5252
"docs/search/multi-branch-indexing",
53-
"docs/search/search-contexts"
53+
"docs/search/search-contexts",
54+
"docs/search/code-navigation"
5455
]
5556
},
5657
{
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Code navigation
3+
sidebarTitle: Code navigation (EE)
4+
---
5+
6+
import SearchContextSchema from '/snippets/schemas/v3/searchContext.schema.mdx'
7+
8+
<Note>
9+
This feature is only available with an active Enterprise license. Please add your [license key](/self-hosting/license-key) to activate it.
10+
</Note>
11+
12+
**Code navigation** allows you to jump between symbol definition and references when viewing source files in Sourcebot.
13+
14+
15+
<video src="https://framerusercontent.com/assets/B9ZxrlsUeO9NJyzkKyvVV2KSU4.mp4" className="w-full aspect-video" controls></video>
16+
17+
## Features
18+
19+
todo

docs/images/demo.mp4

-9.78 MB
Binary file not shown.

packages/web/src/lib/newsData.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { NewsItem } from "./types";
22

3-
// Sample news data - replace with your actual data source
43
export const newsData: NewsItem[] = [
54
{
65
unique_id: "code-nav",
76
header: "Code navigation",
87
sub_header: "Built in go-to definition and find references",
9-
url: "https://docs.sourcebot.dev", // TODO: link to code nav docs
8+
url: "https://docs.sourcebot.dev/docs/search/code-navigation"
109
},
1110
{
1211
unique_id: "sso",

0 commit comments

Comments
 (0)