From 88d52de4493b64e4778b19e2970c68c475122a9a Mon Sep 17 00:00:00 2001 From: Konstantinos Paparas Date: Mon, 13 Apr 2026 11:18:07 +0200 Subject: [PATCH 1/3] docs: add "Using LLMs" page documenting LLM-friendly endpoints --- .vitepress/config.mts | 8 +++++++- llms.md | 45 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 llms.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 4066067..4a70566 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -259,6 +259,12 @@ export default defineConfig({ { text: 'Common Issues', link: '/faq#common-issues' }, ], }, + { + text: 'AI Tools', + items: [ + { text: 'LLMs', link: '/llms' }, + ], + }, { text: 'Contribution Guides', items: [ @@ -303,7 +309,7 @@ export default defineConfig({ }, vite: { plugins: [ - llmstxt({ ignoreFiles: getRedirectPaths(redirects) }), + llmstxt({ ignoreFiles: [...getRedirectPaths(redirects), 'llms.md'] }), redirectsPlugin({ redirects, base }), ], resolve: { diff --git a/llms.md b/llms.md new file mode 100644 index 0000000..86960d3 --- /dev/null +++ b/llms.md @@ -0,0 +1,45 @@ +# Using LLMs + +rotki's documentation is available in LLM-friendly formats to help developers and AI agents integrate with rotki faster. + +## Available Endpoints + +| Endpoint | Description | +| ------------------------------- | ------------------------------------------------------------------ | +| [llms.txt](/llms.txt) | Curated index of all pages with one-line descriptions. Start here. | +| [llms-full.txt](/llms-full.txt) | All pages in clean markdown, organized by section. | + +Each documentation page also has an individual `.md` version available for LLMs (use the "Copy page for LLMs" button on any page). + +## Which file should I use? + +- **Quick lookup** — Use `llms.txt` to find the right page, then fetch it individually. +- **Full context** — Use `llms-full.txt` for complete documentation in a single file. Best for comprehensive context. + +## Using with AI Code Editors + +### Cursor + +Add the following URL to **Cursor Settings > Features > Docs**: + +``` +https://docs.rotki.com/llms-full.txt +``` + +### Claude Code + +To give Claude Code access to the rotki documentation, you can fetch it directly: + +```bash +curl -s https://docs.rotki.com/llms-full.txt +``` + +Or reference specific pages: + +```bash +curl -s https://docs.rotki.com/usage-guides.md +``` + +### Other Tools + +Any tool that supports the [llms.txt standard](https://llmstxt.org/) can consume rotki's documentation. Point it to `https://docs.rotki.com/llms.txt` as the entry point. From aa821fa85c4d078e63e13cb94b3d7790eef6d5c1 Mon Sep 17 00:00:00 2001 From: Konstantinos Paparas Date: Mon, 13 Apr 2026 11:34:51 +0200 Subject: [PATCH 2/3] fix: generate index.md for LLMs to prevent 404 on root page copy --- .vitepress/config.mts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 4a70566..bf6cc23 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -309,7 +309,10 @@ export default defineConfig({ }, vite: { plugins: [ - llmstxt({ ignoreFiles: [...getRedirectPaths(redirects), 'llms.md'] }), + llmstxt({ + ignoreFiles: [...getRedirectPaths(redirects), 'llms.md'], + excludeIndexPage: false, + }), redirectsPlugin({ redirects, base }), ], resolve: { From 1588809d405c9c5994c43bb2959f580e8c753330 Mon Sep 17 00:00:00 2001 From: Konstantinos Paparas Date: Mon, 13 Apr 2026 11:51:39 +0200 Subject: [PATCH 3/3] docs: add LLM-friendly alternative for NavCards on index page --- index.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/index.md b/index.md index 5a9d20f..860d81b 100644 --- a/index.md +++ b/index.md @@ -8,12 +8,23 @@ rotki is an open-source asset management and accounting application specializing ## Where to start? + + + + + +- [Installation Guide](/requirement-and-installation/): Download and install rotki on Linux, macOS, or Windows. +- [Quick Start Guide](/usage-guides/quick-start): Step-by-step walkthrough from installation to your first PnL report. +- [Tax Accounting Guide](/usage-guides/tax-accounting/guide): Step-by-step walkthrough from setup to generating your PnL report. +- [Contribution Guide](/contribution-guides/): Report bugs, request features, or contribute code to rotki. + + ## Disclaimer