# DocsLit > Documentation for DocsLit — build beautiful docs with Markdown and web components > Raw Markdown for each page: append `.md` to the page URL, or request the page with `Accept: text/markdown`. Every link below already points at the Markdown. ## Getting started - [Introduction](https://docs.docslit.com/0.3/getting-started/introduction.md): DocsLit is a documentation framework that combines Markdown with interactive web components — no build tools, no JSX, no imports. - [Why DocsLit](https://docs.docslit.com/0.3/getting-started/why-docslit.md): Why DocsLit ships less JavaScript than React-based docs tools, why it uses web components, and how every site works for AI agents without extra setup. - [Installation](https://docs.docslit.com/0.3/getting-started/installation.md): Install DocsLit and set up your development environment to start building documentation sites. - [Quickstart](https://docs.docslit.com/0.3/getting-started/quickstart.md): Create and preview a DocsLit documentation site in under 3 minutes with a single command. - [Project structure](https://docs.docslit.com/0.3/getting-started/project-structure.md): Understand the file and folder layout of a DocsLit project, including docslit.json, the docs directory, and build output. ## AI & agents - [Built for AI agents](https://docs.docslit.com/0.3/ai-and-agents/overview.md): How DocsLit lets AI tools write, check and read documentation - a machine-readable authoring loop, an MCP server, and agent-friendly published sites. - [MCP server](https://docs.docslit.com/0.3/ai-and-agents/mcp-server.md): Run docslit mcp to give an AI agent tools to write and validate pages in your project, or to read and search any published DocsLit site. - [Agent setup](https://docs.docslit.com/0.3/ai-and-agents/agent-setup.md): Run docslit agents init to write AGENTS.md, Claude Code skills, Cursor, Copilot, Windsurf and Gemini files and MCP config so your AI tool writes valid DocsLit pages. - [Machine-readable CLI](https://docs.docslit.com/0.3/ai-and-agents/machine-readable-cli.md): JSON output from docslit components, schema, new, validate and lint, with the full table of stable validation issue codes, for AI agents and CI scripts. - [How agents read your site](https://docs.docslit.com/0.3/ai-and-agents/reading-agents.md): The files and endpoints a built DocsLit site exposes to AI agents - llms.txt, Markdown pages, content negotiation, agent.json, a stdio MCP server, and a hosted MCP endpoint on DocsLit Cloud. - [Publish agent skills](https://docs.docslit.com/0.3/ai-and-agents/agent-skills.md): Ship Agent Skills from your docs project so agents can discover them and install them with one command. ## Writing content - [Markdown basics](https://docs.docslit.com/0.3/writing-content/markdown-basics.md): Learn the Markdown syntax supported by DocsLit, including headings, lists, links, images, and GFM extensions. - [Reusable content](https://docs.docslit.com/0.3/writing-content/reusable-content.md): Create shared Markdown snippets and include them across multiple pages to keep content consistent and maintainable. - [Variables and precedence](https://docs.docslit.com/0.3/writing-content/variables-and-precedence.md): Use inline variables in your docs that readers can edit, with cascading precedence rules for defaults and overrides. - [Frontmatter](https://docs.docslit.com/0.3/writing-content/frontmatter.md): Configure page metadata like title, description, tags, and layout using YAML frontmatter at the top of each Markdown file. - [Pages and navigation](https://docs.docslit.com/0.3/writing-content/pages-and-navigation.md): Organize your documentation with sidebar groups, icons, badges, hidden pages and external links, and see how pagination and the table of contents work. - [Autogenerated sidebars](https://docs.docslit.com/0.3/writing-content/autogenerated-sidebars.md): Build the sidebar from your docs folder with sidebar auto or autogenerate, order pages with sidebar_position, and control labels and collapsing with _category.json. - [Search and SEO](https://docs.docslit.com/0.3/writing-content/search-and-seo.md): Built-in full-text search, sitemap generation, meta tags, and AI agent discovery with llms.txt for every DocsLit site. - [Import code from files](https://docs.docslit.com/0.3/writing-content/code-import.md): Pull code samples into a page from real source files with file, lines and region, so examples stay in sync with code that you test. - [Math](https://docs.docslit.com/0.3/writing-content/math.md): Write LaTeX math in DocsLit pages with double-dollar delimiters or math code fences, rendered at build time with KaTeX and no client-side JavaScript. ## Components - [Callouts and alerts](https://docs.docslit.com/0.3/components/callouts-and-alerts.md): Highlight important information with callout and alert components for tips, warnings, errors, and notes. - [Code blocks](https://docs.docslit.com/0.3/components/code-blocks.md): Display syntax-highlighted code with copy buttons, filenames, line numbers, code groups, and theme toggles. - [Tabs and accordions](https://docs.docslit.com/0.3/components/tabs-and-accordions.md): Organize content into switchable tabs, view toggles and collapsible accordion sections, with icons, deep links, default selection and synced choices. - [Cards and tiles](https://docs.docslit.com/0.3/components/cards-and-tiles.md): Create clickable cards with icons, images and call-to-action text, tile grids with previews, and buttons with icons, sizes and states. - [Steps](https://docs.docslit.com/0.3/components/steps.md): Present sequential instructions as numbered steps with titles and rich content for tutorials and guides. - [Walkthrough](https://docs.docslit.com/0.3/components/walkthrough.md): Explain code step by step with prose beside a sticky code panel that follows the reader's scroll, focusing or highlighting the lines each step is about. - [Layout](https://docs.docslit.com/0.3/components/layout.md): Structure page content with columns, panels, frames, indented blocks and floating aside boxes. - [Embeds and media](https://docs.docslit.com/0.3/components/embeds-and-media.md): Embed videos and iframes with a fixed aspect ratio, lazy loading and a privacy-friendly facade, and show a GitHub repository card that updates itself. - [API reference components](https://docs.docslit.com/0.3/components/api-reference-components.md): Document API endpoints with parameter fields, response schemas, runnable request builders, and method badges. - [Data display](https://docs.docslit.com/0.3/components/data-display.md): Render sortable-style tables with sticky headers and search, color palettes, Mermaid diagrams and version-specific content from structured data. - [AsciiDoc tables](https://docs.docslit.com/0.3/components/asciidoc-tables.md): Author rich tables with AsciiDoc syntax — column specs, spans, alignment, cell styles, CSV/DSV, and more. - [File trees](https://docs.docslit.com/0.3/components/file-trees.md): Display interactive file and directory trees with file-type icons, highlighting, comments and collapsible folders, plus download links and copy chips. - [Interactive elements](https://docs.docslit.com/0.3/components/interactive-elements.md): Add editable variables, tooltips, anchors, changelog updates and copyable AI prompts that respond to reader input. - [Conditional content](https://docs.docslit.com/0.3/components/conditional-content.md): Show content only for certain versions, locales, variables, or audiences, including text meant only for AI agents, with the compile-time wc-if component. - [Icons](https://docs.docslit.com/0.3/components/icons.md): Use Lucide and Font Awesome icons by name, Font Awesome class strings, emoji, images or inline SVG anywhere an icon is accepted, resolved at build time so they work offline. ## Customization - [Themes](https://docs.docslit.com/0.3/customization/theming.md): Pick a prebuilt DocsLit theme with one line of config, preview every theme and palette live, and understand how themes, palettes and brand colors fit together. - [Palettes and brand colors](https://docs.docslit.com/0.3/customization/palettes-and-brand.md): Choose a color palette, set brand colors, fonts and corner radius, control light and dark appearance, and share a brand theme file across projects. - [Design tokens](https://docs.docslit.com/0.3/customization/design-tokens.md): Reference for every CSS custom property a DocsLit theme sets, how to override them in your own stylesheet, and how to build your own theme. - [Logo](https://docs.docslit.com/0.3/customization/logo.md): Add your logo to the navigation bar, with separate light and dark variants, a custom link target, optional text and a fixed height. - [Site chrome](https://docs.docslit.com/0.3/customization/site-chrome.md): Configure the navbar with links, dropdowns, buttons and a GitHub star count, the footer with columns and social icons, plus custom CSS, head tags, analytics, base path and redirects. - [Tabs and anchors](https://docs.docslit.com/0.3/customization/tabs-and-anchors.md): Split a large site into top-level tabs, each with its own sidebar, and pin links to the top of the sidebar with anchors. - [Page layout](https://docs.docslit.com/0.3/customization/page-layout.md): Set site-wide widths and the table of contents depth, choose a layout for each page, and hide the table of contents, pagination or page actions with frontmatter. - [Contextual menu](https://docs.docslit.com/0.3/customization/contextual-menu.md): Configure the Copy page menu on every page, with options to copy Markdown, open the page in an AI assistant, copy an MCP install command, or run a custom link. - [Internationalization](https://docs.docslit.com/0.3/customization/i18n.md): Locale directories, switcher, and hreflang - [Announcement banner](https://docs.docslit.com/0.3/customization/announcement-banner.md): Display a dismissible site-wide banner at the top of your docs for product updates, launches, and important notices. - [Page feedback widget](https://docs.docslit.com/0.3/customization/feedback-widget.md): Add a Was this page helpful widget to every page, send responses to your own endpoint or analytics provider, and listen for the docslit:feedback browser event. - [Custom components](https://docs.docslit.com/0.3/customization/custom-components.md): Build your own web components with Lit or vanilla JS and use them alongside the built-in DocsLit components. - [Versioning](https://docs.docslit.com/0.3/customization/versioning.md): Serve multiple documentation versions side by side with branch-based versioning and a version selector. - [Custom CSS](https://docs.docslit.com/0.3/customization/custom-css.md): Style a DocsLit site with your own stylesheet, including Mintlify-style hooks, layout attributes and ::part() selectors for component internals. ## Deployment - [Static hosting](https://docs.docslit.com/0.3/deployment/static-hosting.md): Deploy your DocsLit site as static files to Netlify, Vercel, Cloudflare Pages, GitHub Pages, or any CDN. - [Chapter PDF export](https://docs.docslit.com/0.3/deployment/chapter-pdf-export.md): Generate chapter, page, and full-documentation PDFs at build time with docslit build --pdf, and let readers download them from your site. - [Offline builds](https://docs.docslit.com/0.3/deployment/offline-builds.md): Generate a self-contained documentation site that works offline, from a file:// URL, or on air-gapped networks — with no external dependencies. - [DocsLit Cloud](https://docs.docslit.com/0.3/deployment/docslit-cloud.md): Request DocsLit Cloud, then publish with an API token and docslit publish. Covers the hosted MCP endpoint, Markdown negotiation, atomic releases, rollback and limits. ## Migration - [Migrate from Mintlify](https://docs.docslit.com/0.3/migration/from-mintlify.md): Move a Mintlify docs.json or mint.json project to DocsLit with one command that converts pages, components, code blocks, navigation, branding and redirects, and lists what still needs a human. - [Migrate from Fern](https://docs.docslit.com/0.3/migration/from-fern.md): Move a Fern docs.yml project to DocsLit with one command that converts pages, components, code blocks, navigation, branding, API reference and redirects, and lists what still needs a human. - [Migrate from GitBook](https://docs.docslit.com/0.3/migration/from-gitbook.md): Move a GitBook project to DocsLit with one command that turns SUMMARY.md into a sidebar and GitBook hints, tabs, steppers, embeds and files into DocsLit components. - [Migrate from MkDocs](https://docs.docslit.com/0.3/migration/from-mkdocs.md): Move a MkDocs, Material for MkDocs or Zensical project to DocsLit with one command that converts mkdocs.yml, navigation, admonitions, tabs, snippets and branding, and lists what still needs a human. - [Import reference](https://docs.docslit.com/0.3/migration/import-reference.md): Every flag of docslit import, how format detection works, what MIGRATION.md and the JSON report contain, the issue codes you will meet, and the known limits of the importer. - [Component mapping](https://docs.docslit.com/0.3/migration/component-mapping.md): See how every Mintlify and Fern component converts to DocsLit, with the real output of the importer for each one, plus the rules that apply to all conversions. - [Migrate with your AI agent](https://docs.docslit.com/0.3/migration/migrate-with-ai.md): Let an AI coding agent run the DocsLit importer, work through the migration report, and convert pages one at a time with the convert_mdx MCP tool. ## Integrations - [OpenAPI integration](https://docs.docslit.com/0.3/integrations/openapi.md): Generate API reference documentation from an OpenAPI 3.x spec with automatic parameter extraction, response schemas, and sidebar hierarchy - [Python API reference](https://docs.docslit.com/0.3/integrations/python-api.md): Document a Python package from its docstrings with mkdocstrings-style directives, cross-references and an objects.inv inventory, without running Python at build time ## CLI reference - [Commands](https://docs.docslit.com/0.3/cli-reference/commands.md): Complete reference for every DocsLit CLI command and flag, including init, new, dev, build, validate, lint, components, schema, agents, mcp, import and the cloud commands. - [Validation](https://docs.docslit.com/0.3/cli-reference/validation.md): Run docslit validate to check for broken links, missing assets, unknown components and other project issues, with pretty, GitHub and JSON output and stable issue codes. - [Lint](https://docs.docslit.com/0.3/cli-reference/lint.md): Run docslit lint to check documentation quality - descriptions, headings, code block languages, alt text, link text and page length - with configurable rules and disable comments. - [Accessibility checks](https://docs.docslit.com/0.3/cli-reference/accessibility.md): Run docslit check a11y to test every page of a built site against WCAG rules in light and dark themes, and fail CI when violations reach a chosen severity. ## Changelog - [What's new](https://docs.docslit.com/0.3/changelog/whats-new.md): Latest features, improvements, and fixes in DocsLit releases. ## Optional - [Site map](https://docs.docslit.com/0.3/sitemap.md) - [Recent changes](https://docs.docslit.com/0.3/changes.md) - [Full documentation](https://docs.docslit.com/0.3/llms-full.txt) - [Agent skill](https://docs.docslit.com/skill.md)