Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
350 changes: 283 additions & 67 deletions sqlite-cloud/_nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,86 +3,302 @@ import type { SidebarNavStruct } from "@docs-website/types/sidebar-navigation";
const sidebarNav: SidebarNavStruct = [
{ title: "", type: "primary" },
// ### AI ###
{ title: "AI", type: "secondary", icon: "docs-star",},
{ title: "AI", type: "secondary", icon: "docs-star" },
{ title: "Overview", filePath: "ai-overview", type: "inner", level: 0 },
{ title: "SQLite-AI", filePath: "sqlite-ai", type: "inner", level: 0 },
{ title: "SQLite-JS", filePath: "sqlite-js", type: "inner", level: 0 },
{ title: "SQLite-Sync", type: "inner", level: 0 },
{ title: "Introduction", filePath: "sqlite-sync-introduction", type: "inner", level: 1 },
{ title: "Getting Started", filePath: "sqlite-sync-getting-started", type: "inner", level: 1 },
{ title: "Best Practices", filePath: "sqlite-sync-best-practices", type: "inner", level: 1 },
{ title: "Quick Starts", type: "inner", level: 1 },
{ title: "Android", filePath: "sqlite-sync-quick-start-android", type: "inner", level: 2 },
{ title: "iOS", filePath: "sqlite-sync-quick-start-ios", type: "inner", level: 2 },
{ title: "Linux", filePath: "sqlite-sync-quick-start-linux", type: "inner", level: 2 },
{ title: "macOS", filePath: "sqlite-sync-quick-start-macos", type: "inner", level: 2 },
{ title: "React Native Expo", filePath: "sqlite-sync-quick-start-expo", type: "inner", level: 2 },
{ title: "WASM", filePath: "sqlite-sync-quick-start-wasm", type: "inner", level: 2 },
{ title: "Windows", filePath: "sqlite-sync-quick-start-windows", type: "inner", level: 2 },
{ title: "API Reference", type: "inner", level: 1 },
{ title: "cloudsync_init", filePath: "sqlite-sync-api-cloudsync-init", type: "inner", level: 2 },
{ title: "cloudsync_enable", filePath: "sqlite-sync-api-cloudsync-enable", type: "inner", level: 2 },
{ title: "cloudsync_disable", filePath: "sqlite-sync-api-cloudsync-disable", type: "inner", level: 2 },
{ title: "cloudsync_is_enabled", filePath: "sqlite-sync-api-cloudsync-is-enabled", type: "inner", level: 2 },
{ title: "cloudsync_cleanup", filePath: "sqlite-sync-api-cloudsync-cleanup", type: "inner", level: 2 },
{ title: "cloudsync_terminate", filePath: "sqlite-sync-api-cloudsync-terminate", type: "inner", level: 2 },
{ title: "cloudsync_version", filePath: "sqlite-sync-api-cloudsync-version", type: "inner", level: 2 },
{ title: "cloudsync_siteid", filePath: "sqlite-sync-api-cloudsync-siteid", type: "inner", level: 2 },
{ title: "cloudsync_db_version", filePath: "sqlite-sync-api-cloudsync-db-version", type: "inner", level: 2 },
{ title: "cloudsync_uuid", filePath: "sqlite-sync-api-cloudsync-uuid", type: "inner", level: 2 },
{ title: "cloudsync_begin_alter", filePath: "sqlite-sync-api-cloudsync-begin-alter", type: "inner", level: 2 },
{ title: "cloudsync_commit_alter", filePath: "sqlite-sync-api-cloudsync-commit-alter", type: "inner", level: 2 },
{ title: "cloudsync_network_init", filePath: "sqlite-sync-api-cloudsync-network-init", type: "inner", level: 2 },
{ title: "cloudsync_network_cleanup", filePath: "sqlite-sync-api-cloudsync-network-cleanup", type: "inner", level: 2 },
{ title: "cloudsync_network_set_token", filePath: "sqlite-sync-api-cloudsync-network-set-token", type: "inner", level: 2 },
{ title: "cloudsync_network_set_apikey", filePath: "sqlite-sync-api-cloudsync-network-set-apikey", type: "inner", level: 2 },
{ title: "cloudsync_network_has_unsent_changes", filePath: "sqlite-sync-api-cloudsync-network-has-unsent-changes", type: "inner", level: 2 },
{ title: "cloudsync_network_send_changes", filePath: "sqlite-sync-api-cloudsync-network-send-changes", type: "inner", level: 2 },
{ title: "cloudsync_network_check_changes", filePath: "sqlite-sync-api-cloudsync-network-check-changes", type: "inner", level: 2 },
{ title: "cloudsync_network_sync", filePath: "sqlite-sync-api-cloudsync-network-sync", type: "inner", level: 2 },
{ title: "cloudsync_network_reset_sync_version", filePath: "sqlite-sync-api-cloudsync-network-reset-sync-version", type: "inner", level: 2 },
{ title: "cloudsync_network_logout", filePath: "sqlite-sync-api-cloudsync-network-logout", type: "inner", level: 2 },
{ title: "SQLite-Vector", filePath: "sqlite-vector", type: "inner", level: 0 },
{ title: "MCP (Model Context Protocol)", filePath: "mcp-server", type: "inner", level: 0 },
{
title: "Introduction",
filePath: "sqlite-sync-introduction",
type: "inner",
level: 1,
},
{
title: "Getting Started",
filePath: "sqlite-sync-getting-started",
type: "inner",
level: 1,
},
{
title: "Best Practices",
filePath: "sqlite-sync-best-practices",
type: "inner",
level: 1,
},
{ title: "Quick Starts", type: "inner", level: 1 },
{
title: "Android",
filePath: "sqlite-sync-quick-start-android",
type: "inner",
level: 2,
},
{
title: "iOS",
filePath: "sqlite-sync-quick-start-ios",
type: "inner",
level: 2,
},
{
title: "Linux",
filePath: "sqlite-sync-quick-start-linux",
type: "inner",
level: 2,
},
{
title: "macOS",
filePath: "sqlite-sync-quick-start-macos",
type: "inner",
level: 2,
},
{
title: "React Native Expo",
filePath: "sqlite-sync-quick-start-expo",
type: "inner",
level: 2,
},
{
title: "WASM",
filePath: "sqlite-sync-quick-start-wasm",
type: "inner",
level: 2,
},
{
title: "Windows",
filePath: "sqlite-sync-quick-start-windows",
type: "inner",
level: 2,
},
{ title: "API Reference", type: "inner", level: 1 },
{
title: "cloudsync_init",
filePath: "sqlite-sync-api-cloudsync-init",
type: "inner",
level: 2,
},
{
title: "cloudsync_enable",
filePath: "sqlite-sync-api-cloudsync-enable",
type: "inner",
level: 2,
},
{
title: "cloudsync_disable",
filePath: "sqlite-sync-api-cloudsync-disable",
type: "inner",
level: 2,
},
{
title: "cloudsync_is_enabled",
filePath: "sqlite-sync-api-cloudsync-is-enabled",
type: "inner",
level: 2,
},
{
title: "cloudsync_cleanup",
filePath: "sqlite-sync-api-cloudsync-cleanup",
type: "inner",
level: 2,
},
{
title: "cloudsync_terminate",
filePath: "sqlite-sync-api-cloudsync-terminate",
type: "inner",
level: 2,
},
{
title: "cloudsync_version",
filePath: "sqlite-sync-api-cloudsync-version",
type: "inner",
level: 2,
},
{
title: "cloudsync_siteid",
filePath: "sqlite-sync-api-cloudsync-siteid",
type: "inner",
level: 2,
},
{
title: "cloudsync_db_version",
filePath: "sqlite-sync-api-cloudsync-db-version",
type: "inner",
level: 2,
},
{
title: "cloudsync_uuid",
filePath: "sqlite-sync-api-cloudsync-uuid",
type: "inner",
level: 2,
},
{
title: "cloudsync_begin_alter",
filePath: "sqlite-sync-api-cloudsync-begin-alter",
type: "inner",
level: 2,
},
{
title: "cloudsync_commit_alter",
filePath: "sqlite-sync-api-cloudsync-commit-alter",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_init",
filePath: "sqlite-sync-api-cloudsync-network-init",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_cleanup",
filePath: "sqlite-sync-api-cloudsync-network-cleanup",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_set_token",
filePath: "sqlite-sync-api-cloudsync-network-set-token",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_set_apikey",
filePath: "sqlite-sync-api-cloudsync-network-set-apikey",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_has_unsent_changes",
filePath: "sqlite-sync-api-cloudsync-network-has-unsent-changes",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_send_changes",
filePath: "sqlite-sync-api-cloudsync-network-send-changes",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_check_changes",
filePath: "sqlite-sync-api-cloudsync-network-check-changes",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_sync",
filePath: "sqlite-sync-api-cloudsync-network-sync",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_reset_sync_version",
filePath: "sqlite-sync-api-cloudsync-network-reset-sync-version",
type: "inner",
level: 2,
},
{
title: "cloudsync_network_logout",
filePath: "sqlite-sync-api-cloudsync-network-logout",
type: "inner",
level: 2,
},
{
title: "SQLite-Vector",
filePath: "sqlite-vector",
type: "inner",
level: 0,
},
{
title: "MCP (Model Context Protocol)",
filePath: "mcp-server",
type: "inner",
level: 0,
},
{
title: "AI-Powered Docs Search",
filePath: "aisearch-documents",
type: "inner",
level: 0,
},

// ### CLOUD ###
{ title: "Cloud", type: "secondary", icon: "docs-star",},
{ title: "Cloud", type: "secondary", icon: "docs-star" },
{ title: "Overview", filePath: "overview", type: "inner", level: 0 },
{ title: "Scaling", filePath: "architecture", type: "inner", level: 0 },
{ title: "Getting Started", type: "inner", level: 0 },
{ title: "Connecting", filePath: "connect-cluster", type: "inner", level: 1 },
{ title: "Creating a database", filePath: "create-database", type: "inner", level: 1 },
{ title: "Writing data", filePath: "write-data", type: "inner", level: 1 },
{ title: "Connecting", filePath: "connect-cluster", type: "inner", level: 1 },
{
title: "Creating a database",
filePath: "create-database",
type: "inner",
level: 1,
},
{ title: "Writing data", filePath: "write-data", type: "inner", level: 1 },
{ title: "Quick Start Guides", type: "inner", level: 0 },
{ title: "CDN", filePath: "quick-start-cdn", type: "inner", level: 1 },
{ title: "Node.js", filePath: "quick-start-node", type: "inner", level: 1 },
{ title: "React", filePath: "quick-start-react", type: "inner", level: 1 },
{ title: "React Native", filePath: "quick-start-react-native", type: "inner", level: 1 },
{ title: "Apollo / GraphQL", filePath: "quick-start-apollo-graphql", type: "inner", level: 1 },
{ title: "Next.js", filePath: "quick-start-next", type: "inner", level: 1 },
{ title: "Django", filePath: "quick-start-django", type: "inner", level: 1 },
{ title: "Flask", filePath: "quick-start-flask", type: "inner", level: 1 },
{ title: "SQLAlchemy", filePath: "quick-start-sqlalchemy-orm", type: "inner", level: 1 },
{ title: "Streamlit", filePath: "quick-start-streamlit", type: "inner", level: 1 },
{ title: "PHP / Laravel", filePath: "quick-start-php-laravel", type: "inner", level: 1 },
{ title: "Gin", filePath: "quick-start-gin", type: "inner", level: 1 },
{ title: "Knex.js", filePath: "quick-start-knex", type: "inner", level: 1 },
{ title: "CDN", filePath: "quick-start-cdn", type: "inner", level: 1 },
{ title: "Node.js", filePath: "quick-start-node", type: "inner", level: 1 },
{ title: "React", filePath: "quick-start-react", type: "inner", level: 1 },
{
title: "React Native",
filePath: "quick-start-react-native",
type: "inner",
level: 1,
},
{
title: "Apollo / GraphQL",
filePath: "quick-start-apollo-graphql",
type: "inner",
level: 1,
},
{ title: "Next.js", filePath: "quick-start-next", type: "inner", level: 1 },
{ title: "Django", filePath: "quick-start-django", type: "inner", level: 1 },
{ title: "Flask", filePath: "quick-start-flask", type: "inner", level: 1 },
{
title: "SQLAlchemy",
filePath: "quick-start-sqlalchemy-orm",
type: "inner",
level: 1,
},
{
title: "Streamlit",
filePath: "quick-start-streamlit",
type: "inner",
level: 1,
},
{
title: "PHP / Laravel",
filePath: "quick-start-php-laravel",
type: "inner",
level: 1,
},
{ title: "Gin", filePath: "quick-start-gin", type: "inner", level: 1 },
{ title: "Knex.js", filePath: "quick-start-knex", type: "inner", level: 1 },

// ### PLATFORM ###
{ title: "Platform", type: "secondary", icon: "docs-plat" },
{ title: "Edge Functions", filePath: "edge-functions", type: "inner", level: 0 },
{ title: "Webhooks", filePath: "webhooks", type: "inner", level: 0 },
{ title: "Pub/Sub", filePath: "pub-sub", type: "inner", level: 0 },
//{ title: "Vector", filePath: "vector", type: "inner", level: 0 },
{ title: "Users and Roles", filePath: "security", type: "inner", level: 0 },
{ title: "API Keys", filePath: "apikey", type: "inner", level: 0 },
{ title: "Row-Level Security", filePath: "rls", type: "inner", level: 0},
{ title: "OffSync", filePath: "offsync", type: "inner", level: 0 },
{ title: "Access Tokens", filePath: "access-tokens", type: "inner", level: 0 },
{ title: "Backups", filePath: "backups", type: "inner", level: 0 },
{ title: "Query Analyzer", filePath: "analyzer", type: "inner", level: 0 },
{ title: "Extensions", filePath: "extensions", type: "inner", level: 0 },
{ title: "Weblite (REST API)", filePath: "weblite", type: "inner", level: 0 },
{
title: "Edge Functions",
filePath: "edge-functions",
type: "inner",
level: 0,
},
{ title: "Webhooks", filePath: "webhooks", type: "inner", level: 0 },
{ title: "Pub/Sub", filePath: "pub-sub", type: "inner", level: 0 },
//{ title: "Vector", filePath: "vector", type: "inner", level: 0 },
{ title: "Users and Roles", filePath: "security", type: "inner", level: 0 },
{ title: "API Keys", filePath: "apikey", type: "inner", level: 0 },
{ title: "Row-Level Security", filePath: "rls", type: "inner", level: 0 },
{ title: "OffSync", filePath: "offsync", type: "inner", level: 0 },
{
title: "Access Tokens",
filePath: "access-tokens",
type: "inner",
level: 0,
},
{ title: "Backups", filePath: "backups", type: "inner", level: 0 },
{ title: "Query Analyzer", filePath: "analyzer", type: "inner", level: 0 },
{ title: "Extensions", filePath: "extensions", type: "inner", level: 0 },
{ title: "Weblite (REST API)", filePath: "weblite", type: "inner", level: 0 },

// ### CLOUD SDK ###
{ title: "Cloud SDK", type: "secondary", icon: "docs-sdk" },
Expand Down
Loading