Skip to content

docs: add NitroSQLite documentation website - #358

Open
chrispader wants to merge 11 commits into
mainfrom
codex/documentation-website
Open

chrispader wants to merge 11 commits into
mainfrom
codex/documentation-website

Conversation

@chrispader

@chrispader chrispader commented Sep 17, 2026

Copy link
Copy Markdown
Member

Nitro SQLite's setup instructions, platform options, and API details currently share one long README. This adds a Fumadocs website with dedicated guides and reference pages, and reduces the README to installation, a small example, and links to the documentation. The site follows VisionCamera's typography and navigation, with an original homepage focused on Nitro's native bindings, Margelo's maintenance, and an interactive database illustration.

The 25 documentation pages start with a Getting Started guide for installation, native setup, rebuilding, and a first query. A Concepts section explains SQLite files and connections, tables and values, queries and indexes, transactions, and operation ordering before the task guides. The guides also introduce each SQLite feature in plain language before showing its Nitro SQLite API. The reference covers the connection methods, global helpers, raw native methods, all exported types, error conversion, and both integration contracts. Examples and caveats were checked against the current TypeScript and native implementations, including the current limitation in column type metadata.

The site lives in docs/ with search, light and dark themes, a sitemap, and a CI workflow. The root Bun workspace includes docs, so contributors can run its scripts from the repository root. CI and Vercel install the docs workspace with a frozen lockfile; the separate docs lockfile also supports isolated deployment. Margelo's existing Vercel project uses docs/ as its root directory, and the production domain is sqlite.margelo.com. Merging this PR will deploy the website from main.

Preview the documentation website with your Margelo Vercel account.

@vercel

vercel Bot commented Sep 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Sep 17, 2026 9:41pm UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant