# Using these docs with AI

> Feed the documentation to ChatGPT, Claude, Cursor and other LLM tools as clean markdown.

Source: https://docs.gastrogate.io/docs/getting-started/ai-assistants

These docs are designed to be read by language models as well as people.

## Markdown for every page

Append `.md` to any docs URL to get the page as plain markdown. Links inside the markdown point to other `.md` pages, so an agent can traverse the whole site without touching HTML.

```text
https://<docs-host>/docs/getting-started/quickstart.md
https://<docs-host>/docs/api/queries/restaurant.md
```

Requests to a docs URL with `Accept: text/markdown` also receive markdown.

## Index files

| File | Contents |
| --- | --- |
| [`/llms.txt`](/llms.txt) | An index of every page with a one-line summary, following the llms.txt convention. |
| [`/llms-full.txt`](/llms-full.txt) | All documentation, including the full API reference, in a single file. |

## Copy a page

Every page has a **Copy page** button that puts its markdown on your clipboard, plus shortcuts to open the page in ChatGPT or Claude.
