2026-05-11 17:20:11 -07:00
---
title: Markdown Access
description: Fetch KTX docs as llms.txt, llms-full.txt, or per-page Markdown.
---
KTX docs are available as plain Markdown so assistants do not need to parse the rendered HTML site.
## Index
Fetch the curated index:
```text
2026-05-11 20:03:53 -07:00
https://docs.kaelio.com/ktx/llms.txt
2026-05-11 17:20:11 -07:00
```
Use this file to discover high-value pages, task-specific entry points, and Markdown URLs.
## Full corpus
Fetch the complete docs corpus:
```text
2026-05-11 20:03:53 -07:00
https://docs.kaelio.com/ktx/llms-full.txt
2026-05-11 17:20:11 -07:00
```
Use this when an assistant needs broad context across setup, concepts, CLI reference, integrations, and troubleshooting. Prefer the smaller per-page Markdown route for narrow tasks.
## Per-page Markdown
Every docs page has a Markdown route:
```text
2026-05-11 20:03:53 -07:00
https://docs.kaelio.com/ktx/docs/getting-started/quickstart.md
2026-05-13 13:01:56 +02:00
https://docs.kaelio.com/ktx/docs/cli-reference/ktx-sl.md
https://docs.kaelio.com/ktx/docs/cli-reference/ktx-wiki.md
2026-05-11 20:03:53 -07:00
https://docs.kaelio.com/ktx/docs/guides/building-context.md
2026-05-11 17:20:11 -07:00
```
Requests that ask for Markdown can also use the normal docs URL with `Accept: text/markdown`:
```bash
2026-05-11 20:03:53 -07:00
curl -H "Accept: text/markdown" https://docs.kaelio.com/ktx/docs/getting-started/quickstart
2026-05-11 17:20:11 -07:00
```
## Recommended retrieval order
1. Fetch `/llms.txt`.
2. Select one or two relevant page Markdown URLs.
3. Fetch `/llms-full.txt` only when page-level docs are not enough.
## Output contract
Markdown responses are designed for agent consumption:
- Frontmatter is removed.
- Each page includes a title, description, canonical URL, and Markdown URL.
- Code blocks stay as code blocks.
- Tables stay as Markdown tables.
- Missing docs pages return a plain-text `404` instead of silently falling back to HTML.
2026-05-11 19:35:46 -07:00
## Page actions
Rendered docs pages include page-level actions near the title:
- **Copy MD** copies the generated Markdown for the current page.
- **View MD** opens the generated Markdown route.
- **Copy MDX** copies the source MDX for the current page.
2026-05-11 17:20:11 -07:00
## Common mistakes
| Mistake | Better path |
|---------|-------------|
| Scraping the HTML page for a docs answer | Fetch the `.md` route instead |
| Loading `/llms-full.txt` for a single CLI flag lookup | Fetch the relevant CLI reference page |
| Treating `/llms.txt` as complete documentation | Use it as an index, then fetch linked pages |
2026-05-11 19:35:46 -07:00
| Copying rendered text by hand | Use **Copy MD** or **Copy MDX** from the page actions |