# Cookbook > Build a static Astro documentation site from existing files with a theme that fits your product. ## Guide - [Cookbook](https://cookbook.tenphi.me/): Build a static Astro documentation site from your repository or a published npm package, with a theme that fits your product. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/8a5edab282632443219e051e4ade2d1d.md)) - [Getting started](https://cookbook.tenphi.me/getting-started/): Start a documentation site, document an existing repository, or use a published npm package. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/fe85b682b40da746ee4e2aa32851ca39.md)) - [Compare documentation tools](https://cookbook.tenphi.me/comparison/): Choose between Cookbook, documentation site builders, hosted docs, and generated API or component references. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/9f1a6727eca95ccb09e7884ef9a4ea90.md)) - [Working examples](https://cookbook.tenphi.me/examples/): Complete configurations for repositories, monorepos, npm content, languages, and preview sites. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/1a130cabaa8a47b058bfaf7f37568cab.md)) - [Work with a coding agent](https://cookbook.tenphi.me/ai-agents/): What to ask a coding agent in common Cookbook cases, the decisions that stay with you, and what your agent reads. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/90b03784cfc4ed6b6436a840cf1efe48.md)) - [For AI agents](https://cookbook.tenphi.me/agents/): Where a coding agent starts with Cookbook — what is installed, the rules that always apply, and the page for each task. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/48e47b4b0ab06a5eaef1eba21f223fa6.md)) - [Agent harness](https://cookbook.tenphi.me/agent-harness/): Give a coding agent Cookbook's rules, the docs of the installed version, Tasty and Glaze tools that read the site's theme, and Tasty lint tools, with harnesspm. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/1692c754b9ec749da5bb607cab2c1c4a.md)) - [Content sources](https://cookbook.tenphi.me/content-sources/): Collect local files, OpenAPI specs, and locked npm package documentation into one route graph. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/b843a494fe9dfcef74338fa1f21c927e.md)) - [Search and navigation](https://cookbook.tenphi.me/site-navigation/): Help readers find pages with search, sections, page contents, languages, and versions. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/04b03c982cebcb9f254056f7d44af47e.md)) - [Authoring components](https://cookbook.tenphi.me/authoring/): Write pages, then use accessible tabs, callouts, code groups, cards, steps, and isolated previews. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/c564ae72842ac0da01bd36edc3e31bb9.md)) - [Theme recipes](https://cookbook.tenphi.me/recipes/): Complete, build-checked configurations for branding, component styles, fonts, and shared themes. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/7312dafbda6a0461bcebc175cc9adc7b.md)) - [Theme and components](https://cookbook.tenphi.me/theme-and-components/): Choose a brand, build a semantic palette, set design tokens, and find the right customization guide. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/837d7cf9f456c05270b9dfdfd86aba68.md)) - [Fonts and typography](https://cookbook.tenphi.me/fonts-and-typography/): Load local or Google fonts and tune semantic Tasty typography presets. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/3bfe1ed2ece820bbb2a2e0e732f44be9.md)) - [Custom components](https://cookbook.tenphi.me/custom-components/): Style your Astro and MDX components with Tasty and validate their tokens and parts. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/735836707cd11836285449ad88e6f8fe.md)) - [Customization rules](https://cookbook.tenphi.me/customization-rules/): The customization contract for Cookbook consumers and coding agents, with local Tasty and Glaze references. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/54305473f1b97f5af554058b70e0d251.md)) - [Extend Cookbook](https://cookbook.tenphi.me/plugins/): Add Markdown transforms, validate custom metadata, and query the content graph. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/a344ab0d58e8915df2bb59764f67e038.md)) - [Deployment](https://cookbook.tenphi.me/deployment/): Build static output for GitHub Pages and other static hosts. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/a2b29fa588602cad886f8d8f420ad003.md)) - [Upgrade Cookbook](https://cookbook.tenphi.me/migration/): Version-specific changes, runtime upgrades, and documentation-source updates. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/0547471e8a71435fbe90e01c1bcce78f.md)) - [Quality checks](https://cookbook.tenphi.me/quality-checks/): Validate a documentation site, see which environments Cookbook supports, and review its output budgets. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/31e62762565e52c53c7a71f996b07a4e.md)) - [Troubleshooting](https://cookbook.tenphi.me/troubleshooting/): Diagnose configuration, contrast, fonts, plugins, routes, and deployment failures. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/b450bf5b9c0fe6c1b37fc185cab9e665.md)) ## Reference - [Configuration reference](https://cookbook.tenphi.me/configuration/): Configure site metadata, head elements, content, navigation, Markdown, search, theme, and build validation. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/d14076d2aef1fdcea088fff901c07dee.md)) - [Component styles](https://cookbook.tenphi.me/component-styles/): Customize built-in UI surfaces through partial Tasty style objects and named sub-elements. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/d3cf852410fa1e023afb35e6df29cd94.md)) - [Publishing metadata](https://cookbook.tenphi.me/publishing/): Configure titles, social previews, canonical URLs, indexing, and agent-readable pages. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/235a876ddea8e234444fa6bf316fffd9.md)) - [CLI commands](https://cookbook.tenphi.me/cli/): Validate documentation and reconcile package locks using the same configuration as Astro. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/1821030e0e15cc096c6c3a13c936baad.md)) - [Architecture](https://cookbook.tenphi.me/architecture/): Understand the four packages and the static content pipeline behind Cookbook. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/784bd139c3cb92e7694c393f2150a8a8.md)) ## Other pages - [Cookbook](https://cookbook.tenphi.me/es/): Crea un sitio de documentación estático con Astro a partir de tu repositorio o de un paquete npm publicado, con un tema adaptado a tu producto. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/47009c752254524bc7b6b72a2a2a8686.md)) - [Primeros pasos](https://cookbook.tenphi.me/es/getting-started/): Crea un sitio de documentación, documenta un repositorio existente o usa un paquete npm publicado. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/43bb2606694c3540eca8d4fc1de763ab.md)) - [Cookbook](https://cookbook.tenphi.me/ja/): リポジトリや公開済み npm パッケージから、製品に合ったテーマの静的な Astro ドキュメントサイトを作成します。 ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/64c36fce92997fecf841ef12e57d1cf0.md)) - [はじめに](https://cookbook.tenphi.me/ja/getting-started/): ドキュメントサイトの作成、既存リポジトリの文書化、公開済み npm パッケージの利用方法を説明します。 ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/93001797d9544cf496e989ac0d81b46c.md)) - [Cookbook](https://cookbook.tenphi.me/ru/): Создайте статический сайт документации на Astro из файлов репозитория или опубликованного npm-пакета и настройте его оформление под свой продукт. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/a2cb686df9361d638cdb5e02082adc22.md)) - [Начало работы](https://cookbook.tenphi.me/ru/getting-started/): Создайте сайт документации, опишите существующий репозиторий или используйте опубликованный npm-пакет. ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/ff5932638b7b0ecc91b7e05e244b2bc7.md)) - [Cookbook](https://cookbook.tenphi.me/zh/): 根据仓库或已发布的 npm 包,创建符合产品风格的静态 Astro 文档站点。 ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/d83abd2e9b775e3d18d5b5cabbc7976e.md)) - [入门](https://cookbook.tenphi.me/zh/getting-started/): 创建文档站点、为现有仓库编写文档,或使用已发布的 npm 包。 ([Markdown](https://cookbook.tenphi.me/_cookbook/pages/91477268e39a8bf978fb0cede10511c2.md))