---
description: "FbExpert documentation resources for AI assistants and indexing engines: llms.txt, full text, per-page Markdown and sitemap."
---

# Documentation for AI

FbExpert exposes its documentation in formats that assistants and AI indexing engines can use directly.

## Root files

| File | URL | Purpose |
|---|---|---|
| `llms.txt` | https://tetrasys.be/llms.txt | short index, titles and links |
| `llms-full.txt` | https://tetrasys.be/llms-full.txt | complete documentation in a single file |
| `ai.txt` | https://tetrasys.be/ai.txt | usage manifest and policy |
| `robots.txt` | https://tetrasys.be/robots.txt | robot permissions |
| `sitemap.xml` | https://tetrasys.be/sitemap.xml | list of pages |

## Per-page Markdown

Each page also exists as raw Markdown:

```text
https://tetrasys.be/llms/guide/installation.md
https://tetrasys.be/llms/guide/sql.md
https://tetrasys.be/llms/guide/migration.md
https://tetrasys.be/llms/guide/services.md
https://tetrasys.be/llms/guide/securite.md
```

The `rel="alternate" type="text/markdown"` link is present in the HTML header of every page.

## Translated versions

Pages are published under `/pt/`, `/en/` and `/de/`, with the same resources per language:

| File | URL |
|---|---|
| `llms.txt` (fr) | https://tetrasys.be/llms.txt |
| `llms.txt` (pt) | https://tetrasys.be/pt/llms.txt |
| `llms.txt` (de) | https://tetrasys.be/de/llms.txt |
| `ai.txt` | https://tetrasys.be/ai.txt (FR, PT, EN, DE sections) |
| Per-page Markdown | https://tetrasys.be/llms/en/guide/installation.md (same under `/llms/pt/`, `/llms/de/`) |

Each page declares `hreflang` (`fr`, `pt-BR`, `en-US`, `de-DE`, `x-default`) and canonicalizes itself: the four languages are indexed separately, with no duplicate content. All **23 pages** exist in every language; `npm run docs:i18n` checks parity.

To check translation progress:

```bash
npm run docs:i18n
```

The script compares the French and Portuguese pages and lists the missing pages (without failing, unless `--strict` is used).

## Using an assistant

Examples of requests:

```text
Lis https://tetrasys.be/llms.txt et réponds à ma question sur l’installation.
```

```text
Charge https://tetrasys.be/llms-full.txt, puis résume les étapes de migration.
```

```text
Utilise https://tetrasys.be/llms/guide/services.md pour expliquer les services Firebird.
```

## Policy

The documentation is public. It may be:

- indexed;
- quoted;
- used to answer questions;
- reused with attribution to FbExpert.

Screenshots and diagrams remain the property of FbExpert.

## Generation

The files are generated automatically after the build:

```bash
npm run docs:build
```

The script:

1. reads the Markdown files;
2. strips the frontmatter;
3. produces `llms.txt`;
4. produces `llms-full.txt`;
5. copies each page into `llms/`.
