Spanish Total.js
English
Documentation For AI agents
Contents

Introduction

Documents is a self-hosted documentation app built with Total.js 5. People read clean pages; agents and LLMs read the same content as Markdown, llms.txt, a dataset or through MCP.

.md
On this page

Documents is an app for writing and publishing the documentation of your projects: libraries, apps, APIs or anything else. You install it on your own server, write in a panel, and every page is online at once.

What you get

  • A clear structure. Every project has versions, and every version has guides, reference, recipes, FAQ and a changelog. Readers always know where to look.
  • A real API reference. Methods, properties, events and commands are structured entries with a signature, parameters, a return value and examples, not loose text.
  • Versions side by side. Version 4 and version 5 of the same project live together, with links between equivalent pages and entries.
  • Languages. Each project has an original language. Pages and entries are translated one by one, and a translation is marked as outdated when its original changes.
  • Ready for AI. Every page is also Markdown. There is an llms.txt, a JSONL dataset, a sitemap with every language, JSON-LD and an MCP server that agents can read and, with a token, write.
  • A panel with roles. Owners, editors and translators, a full history of every change with restore, and agent tokens.
  • Simple to run. One Node.js process and a PostgreSQL database. The content is kept in memory, so pages render without a query.

This documentation is an example

What you are reading is the documentation of Documents itself. It comes with every installation, so a new site is never empty and you can see how a complete project looks. It is updated with every new version of the app.

To write your own documentation, create a new project, or duplicate this one and change it. See The example project.

Made in Europe