Articles
Articles are the prose pages of your docs site: guides, tutorials, explainers, design notes—anything that isn’t auto-generated API reference. They’re written as .qmd files and organized through the navigation key in _quarto.yml.
Basics
By default, Inspect Docs will symlink any README.md and CHANGELOG.md from the root of your repo into the docs directory. The README becomes your landing page (rendered at index.qmd) unless you create your own index.qmd, in which case the README symlink is skipped and your page takes precedence.
If you’d rather write a dedicated landing page that’s different from your README, just create docs/index.qmd and populate it however you like—the rest of the site behaves identically.
Add more articles by creating a .qmd file anywhere in your docs directory with a title and (optionally) a description in the frontmatter:
---
title: Getting Started
description: Install the package and render your first site.
---
Welcome!The description field is used in the auto-generated reference index, in OpenGraph/Twitter cards, and as the page’s entry in llms.txt.
Diagrams
Quarto has built-in support for Mermaid and Graphviz diagrams — see Quarto’s diagram documentation.
Inspect Docs adds support for Excalidraw. Embed an .excalidraw file as an image and the extension converts it to SVG at build time (Node.js dependencies are installed on first use; results are cached):
Optional attributes control the rendered output:
{theme=dark background=true padding=20 scale=2}| Attribute | Default | Description |
|---|---|---|
theme |
light |
light or dark |
background |
false |
Include the Excalidraw background |
padding |
10 |
Padding around the diagram, in pixels |
scale |
1 |
Export scale factor |