Documents v1
Self-hosted documentation app built with Total.js 5. Every page is readable by people and by AI agents.
Guides
-
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.
-
Getting started
Install Documents, create the owner account and publish your first page.
-
How content is organized
Projects, versions, sections, pages and entries: five levels, each with one clear job.
-
Writing pages
The page editor: Markdown, preview, images, draft or published, order and the change note.
-
API reference
Entries are the methods, properties, events and commands of your API, with their signature, parameters, return value and examples.
-
Versions
Keep several release lines of a project side by side and start a new one as a copy of the current one.
-
Languages and translations
Write in one language and translate page by page. Documents tells you when a translation falls behind its original.
-
History and restore
Every change leaves a revision with who made it, how and why. Any revision can be restored.
-
Users and roles
Owners manage everything, editors write content and translators translate. Each user can be limited to some projects.
-
AI and agents
Everything agents, crawlers and training pipelines can read, and how an agent can write with a token.
-
Settings
Name, public address, logo, accent color, languages and the policy for crawlers of the site.
-
Links
The buttons, social networks and support pages of the home page, and their order.
-
Reading and sharing
What readers get: search, versions and languages, the table of contents, copy as Markdown and the share menu.
-
Backups and updates
Where the content lives, how to back it up and restore it, and how to update the app without losing anything.
-
The example project
This documentation comes with the app and is updated with it. Play with it to learn, duplicate it to make it yours, or hide it.
Reference
-
HTTP endpoints
The public addresses for agents, crawlers and other programs. Private projects never appear in them.
-
MCP tools
The tools of the MCP server at /mcp/: public and read-only.
-
Commands and configuration
The npm scripts of the app and the keys of its config file.
Recipes
-
Connect Claude Code
Let Claude Code read your documentation through MCP.
-
Let an agent translate
Give an AI agent a translator token and let it fill the missing translations through MCP or the JSON API.
-
Start from the example
Duplicate this documentation and turn it into the documentation of your product.
-
Deploy with Docker
Run Documents on a server with Docker and HTTPS.
FAQ
-
Frequently asked questions
Short answers to common questions.
Changelog
-
Changelog
What changed in each version of Documents.