This commit is contained in:
Alex Garcia 2024-07-31 12:55:03 -07:00
parent 4febdff11a
commit 356f75cca7
17 changed files with 350 additions and 166 deletions

View file

@ -1,6 +1,6 @@
import { defineConfig, DefaultTheme, HeadConfig } from "vitepress";
import { DefaultTheme, defineConfig, HeadConfig } from "vitepress";
import { readFileSync } from "node:fs";
import { join, dirname } from "node:path";
import { dirname, join } from "node:path";
import { fileURLToPath } from "node:url";
const PROJECT = "sqlite-vec";
@ -105,8 +105,12 @@ function nav(): DefaultTheme.NavItem[] {
link: `https://crates.io/crates/${PROJECT}`,
},
{
text: "Golang: Go module",
link: `https://pkg.go.dev/github.com/asg017/${PROJECT}/bindings/go/cgo`,
text: "Golang: Go module (CGO)",
link: `https://pkg.go.dev/github.com/asg017/${PROJECT}-go-bindings/cgo`,
},
{
text: "Golang: Go module (WASM ncruces)",
link: `https://pkg.go.dev/github.com/asg017/${PROJECT}-go-bindings/ncruces`,
},
{
text: "Datasette: Plugin",
@ -139,16 +143,7 @@ function sidebar(): DefaultTheme.SidebarItem[] {
},
],
},
{
text: "Features",
collapsed: true,
items: [
{ text: "Vector formats", link: "/vector-formats" },
{ text: "KNN queries", link: "/knn" },
{ text: "vec0 virtual vables", link: "/vec0" },
{ text: "Static blobs", link: "/numpy" },
],
},
{
text: "Using with...",
collapsed: true,
@ -159,11 +154,21 @@ function sidebar(): DefaultTheme.SidebarItem[] {
{ text: "Rust", link: "/rust" },
{ text: "Go", link: "/go" },
{ text: "C/C++", link: "/c" },
{ text: "WebAssembly (Browser)", link: "/wasm" },
{ text: "Browser (WASM)", link: "/wasm" },
{ text: "Datasette", link: "/datasette" },
{ text: "sqlite-utils", link: "/sqlite-utils" },
],
},
{
text: "Features",
collapsed: true,
items: [
{ text: "Vector formats", link: "/features/vector-formats" },
{ text: "KNN queries", link: "/features/knn" },
{ text: "vec0 virtual vables", link: "/features/vec0" },
{ text: "Static blobs", link: "/features/static-blobs" },
],
},
guides,
{
text: "Documentation",
@ -172,10 +177,6 @@ function sidebar(): DefaultTheme.SidebarItem[] {
{ text: "API Reference", link: "/api-reference" },
],
},
{
text: "Sponsors",
link: "/sponsors",
},
{
text: "See also",
items: [