Quickstart
Scaffold a Tangly project, edit a page, and ship a build.
~ 1 min read
Quickstart
Five minutes from empty directory to deployed static site.
-
Install
bash bun add -D tanglySee Installation for pnpm/npm/yarn.
-
Scaffold
bash bun x tangly init my-docs cd my-docsinitprompts for a project name and template (basic, api, or starter-from-mintlify), then drops adocs.jsonplus a few starter pages. -
Run dev
bash bun x tangly devOpens at
http://localhost:4321. Edits todocs.jsonor any*.mdxhot-reload in under 250ms. Drafts (draft: truefrontmatter) are visible in dev and hidden in build. -
Add a page
Create
guides/concepts.mdx:md --- title: Concepts description: Core ideas behind the product. icon: book --- # Concepts Body content. Markdown, MDX, components — all of it works.Reference it in
docs.json:json { "navigation": { "tabs": [ { "tab": "Guides", "groups": [ { "group": "Get Started", "pages": ["introduction", "guides/concepts"] } ] } ] } }The browser refreshes without a server restart.
-
Build
bash bun x tangly buildStatic output lands in
dist/. The adapter is auto-detected from your repo:File present Adapter vercel.jsonvercelwrangler.toml/wrangler.jsonccloudflareDockerfilenode(none) staticOverride with
--adapter <name>. See Deploying for the recipes. -
Preview the build
bash bun x tangly previewServes
dist/locally so you can sanity-check the production output before pushing.
Already on Mintlify?
If you have an existing mint.json project, run:
bun x tangly migrateThis rewrites mint.json → docs.json and bumps tangly to the latest. Existing MDX files render unchanged. See Migrate from Mintlify.