Aller au contenu
ZenithDocs
Français

LLMs and AI tools

Markdown versions of your documentation, for models and agents.

Sur cette page

Documentation is written for people, but it is increasingly read by models: a chat assistant answering a question about your project, an agent writing code against your API. ZenithDocs publishes a Markdown view of the site for them, generated at build time.

What is generated

llms.txt
llms-full.txt
installation.md
writing/markdown.md

llms.txt

An index of the site, following the llms.txt convention: the site title, its description, then one Markdown link per page, grouped the way the sidebar is.

llms.txt
# ZenithDocs

> A static, lightweight and themeable documentation engine built on Astro and Lumos.

## Writing content

- [Markdown](/writing/markdown/): Standard Markdown, GitHub Flavored Markdown and a few extensions.

It is small on purpose: a model reads it first, then fetches only the pages it needs.

llms-full.txt

Every page, in reading order, separated by ---. Useful to paste a whole documentation site into a context window in one go.

One .md per page

Each page is also served as Markdown, at the same path with a .md extension: /installation/ is also available at /installation.md. Every page links to its Markdown version, and an untranslated page to the one of the default language:

<link rel="alternate" type="text/markdown" href="/installation.md" />

What the Markdown contains

The title, the description, the source URL and the body of the page:

installation.md
# Installation

> Add ZenithDocs to a new or existing Astro project.

Source: https://docs.example.com/installation/

ZenithDocs needs Astro 7 and Node.js 22.18 or later.

MDX import and export lines are removed, since they mean nothing outside a bundler. Component tags are kept: they carry content, and models read them fine.

Turning it off

astro.config.mjs
zenith({
  title: 'My Docs',
  llms: false,
});

Dernière mise à jour le